X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d90895ac118ad4546eed7ee4c358a3fe644a1ad7..aa9a4ae1a54ab701d1e12d8a9bddf1ddd81a9a1a:/include/wx/os2/stattext.h diff --git a/include/wx/os2/stattext.h b/include/wx/os2/stattext.h index bd58678f76..b410f9787b 100644 --- a/include/wx/os2/stattext.h +++ b/include/wx/os2/stattext.h @@ -56,7 +56,7 @@ class WXDLLEXPORT wxStaticText: public wxControl virtual MRESULT OS2WindowProc(HWND hwnd, WXUINT nMsg, WXWPARAM wParam, WXLPARAM lParam); protected: - virtual wxSize DoGetBestSize(); + virtual wxSize DoGetBestSize() const; }; #endif