X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4438caf41af49f00f3c8137ac801871f59cce386..b668a73527cd08aae1321bfb1c604c9b96fffbed:/include/wx/msw/stattext.h?ds=sidebyside diff --git a/include/wx/msw/stattext.h b/include/wx/msw/stattext.h index f21a4bd3b0..ca5fd0c0e2 100644 --- a/include/wx/msw/stattext.h +++ b/include/wx/msw/stattext.h @@ -46,17 +46,16 @@ public: // accessors void SetLabel(const wxString& label); + bool SetFont( const wxFont &font ); // overriden base class virtuals virtual bool AcceptsFocus() const { return FALSE; } // callbacks - virtual WXHBRUSH OnCtlColor(WXHDC pDC, WXHWND pWnd, WXUINT nCtlColor, - WXUINT message, WXWPARAM wParam, WXLPARAM lParam); virtual long MSWWindowProc(WXUINT nMsg, WXWPARAM wParam, WXLPARAM lParam); protected: - virtual wxSize DoGetBestSize(); + virtual wxSize DoGetBestSize() const; }; #endif