From: Robin Dunn Date: Fri, 2 Oct 1998 06:38:30 +0000 (+0000) Subject: Added wxFrame::SetStatusBar for wxPython X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/d1c74ca98b236925f24e40ff1920dcd2a299b0c9 Added wxFrame::SetStatusBar for wxPython git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@795 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/msw/frame.h b/include/wx/msw/frame.h index 8735c243b8..394e658f59 100644 --- a/include/wx/msw/frame.h +++ b/include/wx/msw/frame.h @@ -92,6 +92,7 @@ public: virtual wxStatusBar* CreateStatusBar(int number=1, long style = wxST_SIZEGRIP, wxWindowID id = 0, const wxString& name = "statusBar"); inline wxStatusBar *GetStatusBar() const { return m_frameStatusBar; } + inline void SetStatusBar(wxStatusBar *statusBar) { m_frameStatusBar = statusBar; } virtual void PositionStatusBar(void); virtual wxStatusBar *OnCreateStatusBar(int number, long style, wxWindowID id, const wxString& name);