]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/menu.h
fix warnings in EventsSuppressor ctor from gcc with -O option
[wxWidgets.git] / include / wx / menu.h
index 0de4fb3eef4576bf60ca1d3d680fa72e1e255d06..c222caa135b45c37576453cb1fd4068773bb699d 100644 (file)
@@ -512,19 +512,6 @@ protected:
     DECLARE_NO_COPY_CLASS(wxMenuBarBase)
 };
 
     DECLARE_NO_COPY_CLASS(wxMenuBarBase)
 };
 
-#if WXWIN_COMPATIBILITY_2_8
-// get or change the label of the menu at given position
-void wxMenuBarBase::SetLabelTop(size_t pos, const wxString& label)
-{
-    SetMenuLabel(pos, label);
-}
-
-wxString wxMenuBarBase::GetLabelTop(size_t pos) const
-{
-    return GetMenuLabel(pos);
-}
-#endif
-
 // ----------------------------------------------------------------------------
 // include the real class declaration
 // ----------------------------------------------------------------------------
 // ----------------------------------------------------------------------------
 // include the real class declaration
 // ----------------------------------------------------------------------------