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
This commit is contained in:
Vadim Zeitlin
2012-11-11 13:10:21 +00:00
parent 72ae0b5169
commit 17c3ff902e

View File

@@ -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,