refactor WM_COMMAND messages handling in MDI frames to avoid duplicating code unnecessarily and generally streamline it; added possibility to use custom menu commands in the "Window" menu and specifying accelerators for them now works too (show this in the sample); finally added standard ids for the MDI window menu commands
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58462 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -144,6 +144,16 @@ wxID_MAXIMIZE_FRAME,
|
||||
wxID_ICONIZE_FRAME,
|
||||
wxID_RESTORE_FRAME,
|
||||
|
||||
// MDI window menu ids
|
||||
wxID_MDI_WINDOW_FIRST = 5230,
|
||||
wxID_MDI_WINDOW_CASCADE = wxID_MDI_WINDOW_FIRST,
|
||||
wxID_MDI_WINDOW_TILE_HORZ,
|
||||
wxID_MDI_WINDOW_TILE_VERT,
|
||||
wxID_MDI_WINDOW_ARRANGE_ICONS,
|
||||
wxID_MDI_WINDOW_PREV,
|
||||
wxID_MDI_WINDOW_NEXT,
|
||||
wxID_MDI_WINDOW_LAST = wxID_MDI_WINDOW_NEXT,
|
||||
|
||||
// IDs used by generic file dialog (13 consecutive starting from this value)
|
||||
wxID_FILEDLGG = 5900,
|
||||
|
||||
|
Reference in New Issue
Block a user