]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/framecmn.cpp
revert previous revision about localization of decimal points in GetHumanReadableSize...
[wxWidgets.git] / src / common / framecmn.cpp
index f83d3e488bac101f61d4b02c07e29257283f2e04..916c0ea76d7db990a79ad7e84aefbac3b350ee20 100644 (file)
@@ -347,8 +347,10 @@ bool wxFrameBase::ShowMenuHelp(int menuId)
 {
 #if wxUSE_MENUS
     // if no help string found, we will clear the status bar text
+    //
+    // NB: wxID_NONE is used for (sub)menus themselves by wxMSW
     wxString helpString;
-    if ( menuId != wxID_SEPARATOR && menuId != -3 /* wxID_TITLE */ )
+    if ( menuId != wxID_SEPARATOR && menuId != wxID_NONE )
     {
         const wxMenuItem * const item = FindItemInMenuBar(menuId);
         if ( item && !item->IsSeparator() )