X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1e133b7d6438b9144b8f68cf6b514d03eaaf698b..6db90681cf0b58209a061561f5d3624f6eda8024:/include/wx/gtk/menu.h diff --git a/include/wx/gtk/menu.h b/include/wx/gtk/menu.h index e747a14d87..f571fe084e 100644 --- a/include/wx/gtk/menu.h +++ b/include/wx/gtk/menu.h @@ -68,8 +68,9 @@ public: void Enable( int id, bool enable ); bool IsEnabled( int id ) const; - wxString GetLabel( int id ) const; void SetLabel( int id, const wxString &label ); + wxString GetLabel( int id ) const; + wxString GetLabel() const { return wxWindow::GetLabel(); } void EnableTop( int pos, bool flag ); void SetLabelTop( int pos, const wxString& label ); @@ -94,8 +95,6 @@ public: GtkAccelGroup *m_accel; GtkItemFactory *m_factory; - -private: wxList m_menus; GtkWidget *m_menubar; };