X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f1a3ae7dc957d3af63f6a7141a7aeaee1ec643f8..4ed85025f3ba537206f70f3dd10466e16da926d4:/include/wx/gtk/menu.h?ds=sidebyside diff --git a/include/wx/gtk/menu.h b/include/wx/gtk/menu.h index 7732a9ab84..c2841074ef 100644 --- a/include/wx/gtk/menu.h +++ b/include/wx/gtk/menu.h @@ -41,10 +41,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 +50,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)