From 17c3ff902e86482dc39dda74f2615fc6dc83a694 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sun, 11 Nov 2012 13:10:21 +0000 Subject: [PATCH] Use wxID_EXIT for the "Quit" item in the exec sample. This fixes the behaviour of the standard "Quit" menu item under OS X. See #3204. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72945 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- samples/exec/exec.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/samples/exec/exec.cpp b/samples/exec/exec.cpp index 6cdc3da..9c559a0 100644 --- a/samples/exec/exec.cpp +++ b/samples/exec/exec.cpp @@ -312,8 +312,7 @@ enum Exec_TimerBg, // menu items - Exec_Quit = 100, - Exec_Kill, + Exec_Kill = 100, Exec_ClearLog, Exec_BeginBusyCursor, Exec_EndBusyCursor, @@ -332,6 +331,7 @@ enum Exec_Flags_ShowConsole, Exec_Flags_NoEvents, Exec_About = wxID_ABOUT, + Exec_Quit = wxID_EXIT, // control ids Exec_Btn_Send = 1000, -- 2.7.4