X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/17b1d76b4add82305463d10b9f65668d06169363..60ee01727442e8b364825cd965a3e06c21f07833:/include/wx/os2/font.h diff --git a/include/wx/os2/font.h b/include/wx/os2/font.h index 92e0b22698..0f59967084 100644 --- a/include/wx/os2/font.h +++ b/include/wx/os2/font.h @@ -15,13 +15,13 @@ #include "wx/gdiobj.h" #include "wx/os2/private.h" -WXDLLEXPORT_DATA(extern const wxChar*) wxEmptyString; +WXDLLIMPEXP_DATA_CORE(extern const wxChar*) wxEmptyString; // ---------------------------------------------------------------------------- // wxFont // ---------------------------------------------------------------------------- -class WXDLLEXPORT wxFont : public wxFontBase +class WXDLLIMPEXP_CORE wxFont : public wxFontBase { public: // ctors and such @@ -113,7 +113,9 @@ public: protected: virtual void DoSetNativeFontInfo(const wxNativeFontInfo& rInfo); - void Unshare(void); + // implement wxObject virtuals which are used by AllocExclusive() + virtual wxGDIRefData *CreateGDIRefData() const; + virtual wxGDIRefData *CloneGDIRefData(const wxGDIRefData *data) const; private: DECLARE_DYNAMIC_CLASS(wxFont)