X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/57f4f9255e3d70e219e6eabd68c3990c0f471f81..677dc0ed1a3ff68af15f6246d6d0708d5264b07a:/include/wx/msw/statbr95.h diff --git a/include/wx/msw/statbr95.h b/include/wx/msw/statbr95.h index 980a919feb..3b26a1fa3a 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,12 +57,16 @@ 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(); - // 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)