]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/menu.cpp
Strip menu codes from page label for consistency with other platforms
[wxWidgets.git] / src / msw / menu.cpp
index 4c4383e467dfed0c9180304a8345922bef490ba2..2daee69f0124f958b424fc0cc828bf064438a469 100644 (file)
@@ -793,7 +793,7 @@ bool wxMenu::MSWCommand(WXUINT WXUNUSED(param), WXWORD id_)
     const int id = (signed short)id_;
 
     // ignore commands from the menu title
-    if ( id != idMenuTitle )
+    if ( id != (int)idMenuTitle )
     {
         // update the check item when it's clicked
         wxMenuItem * const item = FindItem(id);