]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/font.h
moving common code
[wxWidgets.git] / include / wx / msw / font.h
index 4ad4c115266473d6a3772517a4bbd008a1e220a8..2437e22f4a8bea916d910b549f34eb5da6576337 100644 (file)
@@ -120,11 +120,6 @@ public:
     // 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,
@@ -139,7 +134,9 @@ protected:
 
     virtual void DoSetNativeFontInfo(const wxNativeFontInfo& info);
 
-    void Unshare();
+    // implement wxObject virtuals which are used by AllocExclusive()
+    virtual wxObjectRefData *CreateRefData() const;
+    virtual wxObjectRefData *CloneRefData(const wxObjectRefData *data) const;
 
 private:
     DECLARE_DYNAMIC_CLASS(wxFont)