]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/os2/font.h
Better fix
[wxWidgets.git] / include / wx / os2 / font.h
index 92e0b22698ddc88578ecafb6cc2407ad5d7435b7..02da7104829dd43117d93d47b93fbadaed463870 100644 (file)
@@ -113,7 +113,9 @@ public:
 protected:
     virtual void DoSetNativeFontInfo(const wxNativeFontInfo& rInfo);
 
 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)
 
 private:
     DECLARE_DYNAMIC_CLASS(wxFont)