Someone probably meant "wx/defs.h" instead of "defs.h"
[wxWidgets.git] / include / wx / gtk / menu.h
index e747a14d874f611e6ad3cd45de0b33f06cffbf5f..f09ee3bc04adf91d2334e6c799669dce5e43eeb2 100644 (file)
@@ -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 );
@@ -91,11 +92,12 @@ public:
 
     // implementation only
     wxList& GetMenus() { return m_menus; }
+    
+    void SetInvokingWindow( wxWindow *win );
+    void UnsetInvokingWindow( wxWindow *win );
 
     GtkAccelGroup   *m_accel;
     GtkItemFactory  *m_factory;
-    
-private:
     wxList           m_menus;
     GtkWidget       *m_menubar;
 };