From: Vadim Zeitlin Date: Sun, 8 Feb 2004 15:29:41 +0000 (+0000) Subject: as after recent change wxID_SEPARATOR is now -2, it is better for idMenuTitle to... X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/c25f373e2b49e6d97c45d3f73da7edd0021ab2b3 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 --- diff --git a/src/msw/menu.cpp b/src/msw/menu.cpp index 1dd2db9179..25ea2adc19 100644 --- a/src/msw/menu.cpp +++ b/src/msw/menu.cpp @@ -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