2009-02-19 16:50 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)

* harbour/source/rtl/gtwvt/gtwvt.c
    * Fixed not to generate RT if class is already been registered.
      Useful in cases where multiple windows are implemented.
This commit is contained in:
Pritpal Bedi
2009-02-20 00:52:31 +00:00
parent 8f458144ea
commit f18256f101
2 changed files with 12 additions and 1 deletions

View File

@@ -8,6 +8,11 @@
2009-12-31 13:59 UTC+0100 Foo Bar (foo.bar foobar.org)
*/
2009-02-19 16:50 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* harbour/source/rtl/gtwvt/gtwvt.c
* Fixed not to generate RT if class is already been registered.
Useful in cases where multiple windows are implemented.
2009-02-20 00:44 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* utils/hbmk2/hbmk2.prg
+ Added autodetection of compiler based on build data on linux.

View File

@@ -136,7 +136,13 @@ static void hb_gt_wvt_RegisterClass( HINSTANCE hInstance )
wndclass.lpszClassName = s_szClassName;
if( ! RegisterClass( &wndclass ) )
hb_errInternal( 10001, "Failed to register WVT window class", NULL, NULL );
{
int iError = GetLastError();
if( iError != 1410 )
{
hb_errInternal( 10001, "Failed to register WVT window class", NULL, NULL );
}
}
}
static PHB_GTWVT hb_gt_wvt_Find( HWND hWnd )