use AllocExclusive for reference counting
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14093 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -90,17 +90,16 @@ public:
|
||||
virtual void SetUnderlined(bool underlined);
|
||||
virtual void SetEncoding(wxFontEncoding encoding);
|
||||
|
||||
// implementation from now on
|
||||
void Unshare();
|
||||
|
||||
struct font_t *GetMGLfont_t(float scale, bool antialiased);
|
||||
|
||||
// no data :-)
|
||||
|
||||
protected:
|
||||
// common part of all ctors
|
||||
void Init() {}
|
||||
|
||||
// ref counting code
|
||||
virtual wxObjectRefData *CreateRefData() const;
|
||||
virtual wxObjectRefData *CloneRefData(const wxObjectRefData *data) const;
|
||||
|
||||
private:
|
||||
DECLARE_DYNAMIC_CLASS(wxFont)
|
||||
};
|
||||
|
Reference in New Issue
Block a user