X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2f2aa6287bd281037a8c329c65219324f81c613c..0d559d69c8115c8aaabba70f37d49b4effbc2ab2:/include/wx/gtk1/frame.h diff --git a/include/wx/gtk1/frame.h b/include/wx/gtk1/frame.h index 1cb5ec51cf..c9274982ac 100644 --- a/include/wx/gtk1/frame.h +++ b/include/wx/gtk1/frame.h @@ -71,6 +71,7 @@ public: virtual wxStatusBar *OnCreateStatusBar( int number, long style, wxWindowID id, const wxString& name ); virtual wxStatusBar *GetStatusBar() const; + inline void SetStatusBar(wxStatusBar *statusBar) { m_frameStatusBar = statusBar; } virtual void SetStatusText( const wxString &text, int number = 0 ); virtual void SetStatusWidths( int n, const int widths_field[] ); @@ -78,6 +79,7 @@ public: const wxString& name = wxToolBarNameStr); virtual wxToolBar *OnCreateToolBar( long style, wxWindowID id, const wxString& name ); virtual wxToolBar *GetToolBar(void) const; + inline void SetToolBar(wxToolBar *toolbar) { m_frameToolBar = toolbar; } virtual void SetMenuBar( wxMenuBar *menuBar ); virtual wxMenuBar *GetMenuBar() const;