Use a single EVT_MENU_RANGE in stc sample instead of tons of EVT_MENU.
Make it easier to add new menu items forwarded to the editor in the sample. No real changes. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73462 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -40,7 +40,8 @@
|
||||
enum {
|
||||
// menu IDs
|
||||
myID_PROPERTIES = wxID_HIGHEST,
|
||||
myID_INDENTINC,
|
||||
myID_EDIT_FIRST,
|
||||
myID_INDENTINC = myID_EDIT_FIRST,
|
||||
myID_INDENTRED,
|
||||
myID_FINDNEXT,
|
||||
myID_REPLACE,
|
||||
@@ -73,6 +74,7 @@ enum {
|
||||
myID_PAGEPREV,
|
||||
myID_PAGENEXT,
|
||||
myID_SELECTLINE,
|
||||
myID_EDIT_LAST = myID_SELECTLINE,
|
||||
myID_WINDOW_MINIMAL,
|
||||
|
||||
// other IDs
|
||||
|
Reference in New Issue
Block a user