]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/menuitem.cpp
Supress SetFocus() warning in wxVListBoxComboPopup
[wxWidgets.git] / src / motif / menuitem.cpp
index 6fbfb08465f29a1be9985faa51acb7990fa81493..fb12bf8e2ef35c6a0df0f0486ed2ac81a616453e 100644 (file)
@@ -136,12 +136,6 @@ void wxMenuItem::Check(bool bDoCheck)
     }
 }
 
-/* static */
-wxString wxMenuItemBase::GetLabelText(const wxString& text)
-{
-    return wxStripMenuCodes(text);
-}
-
 // ----------------------------------------------------------------------------
 // wxMenuItemBase
 // ----------------------------------------------------------------------------
@@ -284,7 +278,7 @@ void wxMenuItem::DestroyItem(bool full)
                 wxMenuItemDisarmCallback, (XtPointer) this);
         }
     }
-    else if (GetId() == wxID_SEPARATOR)
+    else if (IsSeparator())
     {
         ;      // Nothing