X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/409c9842c71df526bcfbf1cf5ce80067b09d4d97..b1d66b5415f7befb45e050d7097571642b8bfa56:/include/wx/os2/statbox.h?ds=sidebyside diff --git a/include/wx/os2/statbox.h b/include/wx/os2/statbox.h index f5a9cb5b53..df6122aeb9 100644 --- a/include/wx/os2/statbox.h +++ b/include/wx/os2/statbox.h @@ -17,7 +17,7 @@ WXDLLEXPORT_DATA(extern const char*) wxStaticBoxNameStr; // Group box -class WXDLLEXPORT wxStaticBox: public wxControl +class WXDLLEXPORT wxStaticBox : public wxStaticBoxBase { DECLARE_DYNAMIC_CLASS(wxStaticBox) @@ -49,7 +49,7 @@ class WXDLLEXPORT wxStaticBox: public wxControl void OnEraseBackground(wxEraseEvent& event); - virtual MRESULT OS2WindowProc(HWND hwnd, WXUINT nMsg, WXWPARAM wParam, WXLPARAM lParam); + virtual MRESULT OS2WindowProc(WXUINT nMsg, WXWPARAM wParam, WXLPARAM lParam); virtual WXHBRUSH OnCtlColor(WXHDC pDC, WXHWND pWnd, WXUINT nCtlColor, WXUINT message, WXWPARAM wParam, WXLPARAM lParam); @@ -58,7 +58,7 @@ class WXDLLEXPORT wxStaticBox: public wxControl virtual bool AcceptsFocus() const { return FALSE; } protected: - virtual wxSize DoGetBestSize(); + virtual wxSize DoGetBestSize() const; private: DECLARE_EVENT_TABLE()