as after recent change wxID_SEPARATOR is now -2, it is better for idMenuTitle to be different from -2 as otherwise we have separators instead of menu titles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25641 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
684571809d
commit
c25f373e2b
@ -73,7 +73,7 @@ extern wxMenu *wxCurrentPopupMenu;
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
// the (popup) menu title has this special id
|
||||
static const int idMenuTitle = -2;
|
||||
static const int idMenuTitle = -3;
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
// private functions
|
||||
|
Loading…
Reference in New Issue
Block a user