From: Vadim Zeitlin <vadim@wxwidgets.org> Date: Sun, 11 Nov 2012 13:10:21 +0000 (+0000) Subject: Use wxID_EXIT for the "Quit" item in the exec sample. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/17c3ff902e86482dc39dda74f2615fc6dc83a694 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 --- diff --git a/samples/exec/exec.cpp b/samples/exec/exec.cpp index 6cdc3da450..9c559a0695 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,