]> git.saurik.com Git - wxWidgets.git/commitdiff
put refdata virtuals in the right class this time
authorPaul Cornett <paulcor@bullseye.com>
Sun, 11 Mar 2007 16:46:24 +0000 (16:46 +0000)
committerPaul Cornett <paulcor@bullseye.com>
Sun, 11 Mar 2007 16:46:24 +0000 (16:46 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44767 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/mac/carbon/pen.h

index 7f51e0add1bf1d8964bde8015943828b9ef275ef..6603b40069c276a918abdcb06763017761cf7609 100644 (file)
@@ -43,9 +43,6 @@ public:
     }
 
 protected:
-    virtual wxObjectRefData* CreateRefData() const;
-    virtual wxObjectRefData* CloneRefData(const wxObjectRefData* data) const;
-
   int           m_width;
   int           m_style;
   int           m_join ;
@@ -111,9 +108,9 @@ public:
   // Useful helper: create the brush resource
   bool RealizeResource();
 
-  // When setting properties, we must make sure we're not changing
-  // another object
-  void Unshare();
+protected:
+    virtual wxObjectRefData* CreateRefData() const;
+    virtual wxObjectRefData* CloneRefData(const wxObjectRefData* data) const;
 };
 
 #endif