From 70de0f36086b0a766928f0ff8f01fa6fca558a7b Mon Sep 17 00:00:00 2001 From: Pritpal Bedi Date: Tue, 24 May 2011 21:16:33 +0000 Subject: [PATCH] 2011-05-24 14:13 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/gtwvg/wvgcore.c ! Fixed: wrongly handelled WM_CLOSE message in modal/modeless dialogs. The fact is reported by Zoran Sibinovic. --- harbour/ChangeLog | 5 +++++ harbour/contrib/gtwvg/wvgcore.c | 9 --------- 2 files changed, 5 insertions(+), 9 deletions(-) diff --git a/harbour/ChangeLog b/harbour/ChangeLog index 2432ffd31b..f6527c1448 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -16,6 +16,11 @@ The license applies to all entries newer than 2009-04-28. */ +2011-05-24 14:13 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) + * contrib/gtwvg/wvgcore.c + ! Fixed: wrongly handelled WM_CLOSE message in modal/modeless + dialogs. The fact is reported by Zoran Sibinovic. + 2011-05-24 11:59 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rtl/arc4.c ! changed size parameter passed by reference to sysctl() to size_t diff --git a/harbour/contrib/gtwvg/wvgcore.c b/harbour/contrib/gtwvg/wvgcore.c index 03814564f2..4a32932ef7 100644 --- a/harbour/contrib/gtwvg/wvgcore.c +++ b/harbour/contrib/gtwvg/wvgcore.c @@ -439,10 +439,6 @@ BOOL CALLBACK hb_wvt_gtDlgProcMLess( HWND hDlg, UINT message, WPARAM wParam, LPA } break; - case WM_CLOSE: - DestroyWindow( hDlg ); - lReturn = 0; - break; #if ! defined( HB_OS_WIN_CE ) case WM_NCDESTROY: #else @@ -556,11 +552,6 @@ BOOL CALLBACK hb_wvt_gtDlgProcModal( HWND hDlg, UINT message, WPARAM wParam, LPA } break; - case WM_CLOSE: - EndDialog( hDlg, IDCANCEL ); - lReturn = 0; - break; - #if ! defined( HB_OS_WIN_CE ) case WM_NCDESTROY: #else