]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/mac/carbon/pen.h
destroy m_impl even if an exception is thrown from the main loop
[wxWidgets.git] / include / wx / mac / carbon / pen.h
index 7f51e0add1bf1d8964bde8015943828b9ef275ef..8da9153e2311e6de06a3a530d897e6690f4a7790 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,8 @@ public:
   // Useful helper: create the brush resource
   bool RealizeResource();
 
-  // When setting properties, we must make sure we're not changing
-  // another object
-  void Unshare();
+private:
+    void Unshare();
 };
 
 #endif