// wxFont
// ----------------------------------------------------------------------------
-class WXDLLEXPORT wxFont : public wxFontBase
+class WXDLLIMPEXP_CORE wxFont : public wxFontBase
{
public:
// ctors and such
// for consistency with other wxMSW classes
WXHFONT GetHFONT() const;
- /*
- virtual bool UseResource();
- virtual bool ReleaseResource();
- */
-
protected:
// real font creation function, used in all cases
bool DoCreate(int size,
virtual void DoSetNativeFontInfo(const wxNativeFontInfo& info);
- void Unshare();
+ // implement wxObject virtuals which are used by AllocExclusive()
+ virtual wxGDIRefData *CreateGDIRefData() const;
+ virtual wxGDIRefData *CloneGDIRefData(const wxGDIRefData *data) const;
private:
DECLARE_DYNAMIC_CLASS(wxFont)