fix to prev

This commit is contained in:
Viktor Szakats
2008-06-21 22:31:01 +00:00
parent c5535273bc
commit 3325a0ed81

View File

@@ -1562,7 +1562,12 @@ static HWND hb_gt_wvt_CreateWindow( HINSTANCE hInstance, HINSTANCE hPrevInstance
hInstance, /* instance */
NULL ); /* lpParam */
if( ! hWnd )
if( hWnd )
{
ShowWindow( hWnd, iCmdShow );
UpdateWindow( hWnd );
}
else
MessageBox( NULL, TEXT( "Failed to create window." ), szAppName, MB_ICONERROR );
}
else