make GTKNeedsParent() private

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73310 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Paul Cornett
2012-12-29 06:29:52 +00:00
parent f1a3ae7dc9
commit bf487502d9
2 changed files with 9 additions and 9 deletions

View File

@@ -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)