X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/511ac294daea69d4bae9644db2fb272c712e059c..92f1a59c288e0e181d2998a93220a73b89f675df:/include/wx/os2/font.h diff --git a/include/wx/os2/font.h b/include/wx/os2/font.h index a306601251..53dcf28490 100644 --- a/include/wx/os2/font.h +++ b/include/wx/os2/font.h @@ -102,7 +102,6 @@ public: virtual void SetFaceName(const wxString& rsFaceName); virtual void SetUnderlined(bool bUnderlined); virtual void SetEncoding(wxFontEncoding vEncoding); - virtual void SetNativeFontInfo(const wxNativeFontInfo& rInfo); // // For internal use only! @@ -121,7 +120,10 @@ public: virtual bool FreeResource(bool bForce = FALSE); WXHFONT GetHFONT(void) const; + protected: + virtual void DoSetNativeFontInfo(const wxNativeFontInfo& rInfo); + // // Common part of all ctors //