tFix for proper handling of WM_CLOSE under Win32. - vaccinewars - be a doctor and try to vaccinate the world
(HTM) git clone git://src.adamsgaard.dk/vaccinewars
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit 720fcc153eaa520911edd6763d282fe9341e6962
(DIR) parent 430eaa0c190f40d01fc8f47be6ff9ae04d5b98d6
(HTM) Author: Ben Webb <ben@salilab.org>
Date: Sun, 3 Mar 2002 19:34:50 +0000
Fix for proper handling of WM_CLOSE under Win32.
Diffstat:
M src/gtkport/gtkport.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
(DIR) diff --git a/src/gtkport/gtkport.c b/src/gtkport/gtkport.c
t@@ -925,7 +925,7 @@ gboolean gtk_window_wndproc(GtkWidget *widget, UINT msg, WPARAM wParam,
case WM_CLOSE:
gtk_signal_emit(GTK_OBJECT(widget), "delete_event",
&event, &signal_return);
- return FALSE;
+ return TRUE;
case WM_COMMAND:
if (HIWORD(wParam) == 0 || HIWORD(wParam) == 1) {
menu = gtk_window_get_menu_ID(GTK_WINDOW(widget), LOWORD(wParam));