X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/409c9842c71df526bcfbf1cf5ce80067b09d4d97..7826e2dd838d59c6a8061b4fdd9f7326a6e06de3:/include/wx/os2/statbox.h?ds=sidebyside diff --git a/include/wx/os2/statbox.h b/include/wx/os2/statbox.h index f5a9cb5b53..147e7beb38 100644 --- a/include/wx/os2/statbox.h +++ b/include/wx/os2/statbox.h @@ -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()