From 3325a0ed81fd65e353237461e8582eb659e20d46 Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Sat, 21 Jun 2008 22:31:01 +0000 Subject: [PATCH] fix to prev --- harbour/source/rtl/gtwvt/gtwvt.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/harbour/source/rtl/gtwvt/gtwvt.c b/harbour/source/rtl/gtwvt/gtwvt.c index b0b6dc5ef3..60e5b57888 100644 --- a/harbour/source/rtl/gtwvt/gtwvt.c +++ b/harbour/source/rtl/gtwvt/gtwvt.c @@ -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