]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk/font.h
Further wxDC changes
[wxWidgets.git] / include / wx / gtk / font.h
index 59d2b41f6e35b275eb2c0ae6410f26064ae09beb..11ceb4335fa6895ad1bd350f9b5cafd35e0260a4 100644 (file)
@@ -49,7 +49,7 @@ public:
     // wxGTK-specific
     bool Create(const wxString& fontname);
 
-    ~wxFont();
+    virtual ~wxFont();
 
     // implement base class pure virtuals
     virtual int GetPointSize() const;
@@ -84,6 +84,9 @@ protected:
     // common part of all ctors
     void Init();
 
+    virtual wxObjectRefData* CreateRefData() const;
+    virtual wxObjectRefData* CloneRefData(const wxObjectRefData* data) const;
+
 private:
     DECLARE_DYNAMIC_CLASS(wxFont)
 };