X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5e25ba908f6a9e03f131e8ce9df19558c3e09a35..f9380570921e22b1037b9415f64b299669a23e88:/include/wx/stubs/font.h?ds=sidebyside diff --git a/include/wx/stubs/font.h b/include/wx/stubs/font.h index 2079f2d0f0..aff8fb3a75 100644 --- a/include/wx/stubs/font.h +++ b/include/wx/stubs/font.h @@ -25,6 +25,7 @@ class WXDLLEXPORT wxFontRefData: public wxGDIRefData friend class WXDLLEXPORT wxFont; public: wxFontRefData(); + wxFontRefData(const wxFontRefData& data); ~wxFontRefData(); protected: int m_pointSize; @@ -50,7 +51,6 @@ public: wxFont(); wxFont(int pointSize, int family, int style, int weight, bool underlined = FALSE, const wxString& faceName = wxEmptyString); inline wxFont(const wxFont& font) { Ref(font); } - inline wxFont(const wxFont* font) { if (font) Ref(*font); } ~wxFont(); @@ -81,6 +81,7 @@ public: // Implementation protected: + bool RealizeResource(); void Unshare(); };