X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8907154c1a8a6882c6797d1f16393ddfb23e7f3a..9b99c1e36a5481f2c24bee87414c68269baae4c7:/include/wx/msw/statbr95.h diff --git a/include/wx/msw/statbr95.h b/include/wx/msw/statbr95.h index 889ca70aca..afa3db8486 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(); @@ -57,6 +57,9 @@ public: virtual int GetBorderX() const; virtual int GetBorderY() const; + virtual WXLRESULT MSWWindowProc(WXUINT nMsg, + WXWPARAM wParam, + WXLPARAM lParam); protected: void CopyFieldsWidth(const int widths[]); void SetFieldsWidth(); @@ -64,10 +67,6 @@ protected: // override base class virtual void DoMoveWindow(int x, int y, int width, int height); - virtual WXLRESULT MSWWindowProc(WXUINT nMsg, - WXWPARAM wParam, - WXLPARAM lParam); - private: DECLARE_DYNAMIC_CLASS_NO_COPY(wxStatusBar95) };