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:
@@ -312,8 +312,7 @@ enum
|
|||||||
Exec_TimerBg,
|
Exec_TimerBg,
|
||||||
|
|
||||||
// menu items
|
// menu items
|
||||||
Exec_Quit = 100,
|
Exec_Kill = 100,
|
||||||
Exec_Kill,
|
|
||||||
Exec_ClearLog,
|
Exec_ClearLog,
|
||||||
Exec_BeginBusyCursor,
|
Exec_BeginBusyCursor,
|
||||||
Exec_EndBusyCursor,
|
Exec_EndBusyCursor,
|
||||||
@@ -332,6 +331,7 @@ enum
|
|||||||
Exec_Flags_ShowConsole,
|
Exec_Flags_ShowConsole,
|
||||||
Exec_Flags_NoEvents,
|
Exec_Flags_NoEvents,
|
||||||
Exec_About = wxID_ABOUT,
|
Exec_About = wxID_ABOUT,
|
||||||
|
Exec_Quit = wxID_EXIT,
|
||||||
|
|
||||||
// control ids
|
// control ids
|
||||||
Exec_Btn_Send = 1000,
|
Exec_Btn_Send = 1000,
|
||||||
|
Reference in New Issue
Block a user