]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/mac/carbon/font.h
suppress (harmless) gcc warning about non-virtual dtor in a class with virtual functions
[wxWidgets.git] / include / wx / mac / carbon / font.h
index 5df413ba3caa85b95ac12ddabaa06ebb47cea884..2113b7570981b7c165a7cae8ed232ccfdf172996 100644 (file)
@@ -98,9 +98,8 @@ public:
     // Returns an ATSUStyle not ATSUStyle*
     void* MacGetATSUStyle() const ; 
     
     // Returns an ATSUStyle not ATSUStyle*
     void* MacGetATSUStyle() const ; 
     
-protected:
-    virtual wxObjectRefData* CreateRefData() const;
-    virtual wxObjectRefData* CloneRefData(const wxObjectRefData* data) const;
+private:
+    void Unshare();
 
     DECLARE_DYNAMIC_CLASS(wxFont)
 };
 
     DECLARE_DYNAMIC_CLASS(wxFont)
 };