+protected:
+ // real font creation function, used in all cases
+ bool DoCreate(int size,
+ const wxSize& pixelSize,
+ bool sizeUsingPixels,
+ int family,
+ int style,
+ int weight,
+ bool underlined = false,
+ const wxString& face = wxEmptyString,
+ wxFontEncoding encoding = wxFONTENCODING_DEFAULT);
+
+ virtual void DoSetNativeFontInfo(const wxNativeFontInfo& info);
+
+ // implement wxObject virtuals which are used by AllocExclusive()
+ virtual wxObjectRefData *CreateRefData() const;
+ virtual wxObjectRefData *CloneRefData(const wxObjectRefData *data) const;