X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6f02a879ed7efc5fcf6328ff47a1352ec82812b7..f196316400fd247a760b2ef77d5064b4e10e5471:/include/wx/msw/statbr95.h?ds=sidebyside diff --git a/include/wx/msw/statbr95.h b/include/wx/msw/statbr95.h index e611e4a00a..3b26a1fa3a 100644 --- a/include/wx/msw/statbr95.h +++ b/include/wx/msw/statbr95.h @@ -22,7 +22,7 @@ public: wxStatusBar95(wxWindow *parent, wxWindowID id = wxID_ANY, long style = wxST_SIZEGRIP, - const wxString& name = wxEmptyString) + const wxString& name = wxStatusBarNameStr) { (void)Create(parent, id, style, name); } @@ -30,7 +30,7 @@ public: bool Create(wxWindow *parent, wxWindowID id = wxID_ANY, long style = wxST_SIZEGRIP, - const wxString& name = wxEmptyString); + const wxString& name = wxStatusBarNameStr); virtual ~wxStatusBar95(); @@ -64,8 +64,9 @@ protected: void CopyFieldsWidth(const int widths[]); void SetFieldsWidth(); - // override base class virtual - void DoMoveWindow(int x, int y, int width, int height); + // override some base class virtuals + virtual wxSize DoGetBestSize() const; + virtual void DoMoveWindow(int x, int y, int width, int height); private: DECLARE_DYNAMIC_CLASS_NO_COPY(wxStatusBar95)