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:
Vadim Zeitlin
2013-02-05 20:46:13 +00:00
parent f2f18548a7
commit 10d28c972b
2 changed files with 6 additions and 28 deletions

View File

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