X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c07103f267adc57a49d2fffa12acdd06b3ff7a57..9005f2edfd988e7f4470a8460e6f96ea2287ba1f:/include/wx/msw/statbr95.h?ds=sidebyside diff --git a/include/wx/msw/statbr95.h b/include/wx/msw/statbr95.h index 022c4e51ee..afa3db8486 100644 --- a/include/wx/msw/statbr95.h +++ b/include/wx/msw/statbr95.h @@ -12,10 +12,6 @@ #ifndef _STATBR95_H #define _STATBR95_H -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) -#pragma interface "statbr95.h" -#endif - #if wxUSE_NATIVE_STATUSBAR class WXDLLEXPORT wxStatusBar95 : public wxStatusBarBase @@ -26,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); } @@ -34,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(); @@ -61,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(); @@ -68,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) };