X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f1a3ae7dc957d3af63f6a7141a7aeaee1ec643f8..66c2bf7b1d9326fb650acfaae22ec50528cfbf7c:/include/wx/gtk/menu.h?ds=inline diff --git a/include/wx/gtk/menu.h b/include/wx/gtk/menu.h index 7732a9ab84..629024591a 100644 --- a/include/wx/gtk/menu.h +++ b/include/wx/gtk/menu.h @@ -2,7 +2,6 @@ // Name: wx/gtk/menu.h // Purpose: // Author: Robert Roebling -// Id: $Id$ // Copyright: (c) 1998 Robert Roebling, Julian Smart // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -41,10 +40,6 @@ public: void SetLayoutDirection(wxLayoutDirection dir); wxLayoutDirection GetLayoutDirection() const; - // wxMenuBar is not a top level window but it still doesn't need a parent - // window - virtual bool GTKNeedsParent() const { return false; } - virtual void Attach(wxFrame *frame); virtual void Detach(); @@ -54,6 +49,10 @@ private: void Init(size_t n, wxMenu *menus[], const wxString titles[], long style); + // wxMenuBar is not a top level window but it still doesn't need a parent + // window + virtual bool GTKNeedsParent() const { return false; } + GtkWidget* m_menubar; DECLARE_DYNAMIC_CLASS(wxMenuBar)