]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/mac/carbon/brush.h
use wxString, not wxChar*, in wxDataFormat ctor and SetId() method
[wxWidgets.git] / include / wx / mac / carbon / brush.h
index 349bde4603c2f445cd1b32df94e5d8f2fc8a27b0..90ac01b9fe6923d0669bbaf745341d6ae69a8861 100644 (file)
@@ -44,10 +44,9 @@ public:
     virtual void MacSetTheme(short macThemeBrush) ;
     virtual void MacSetThemeBackground(unsigned long macThemeBackground ,  WXRECTPTR extent) ;
 
-    bool operator == (const wxBrush& brush) const
-    { return m_refData == brush.m_refData; }
+    bool operator == (const wxBrush& brush) const;
     bool operator != (const wxBrush& brush) const
-    { return m_refData != brush.m_refData; }
+        { return !(*this == brush); }
 
     wxMacBrushKind MacGetBrushKind()  const ;
 
@@ -65,8 +64,7 @@ public:
     // Useful helper: create the brush resource
     bool RealizeResource();
 
-    // When setting properties, we must make sure we're not changing
-    // another object
+private:
     void Unshare();
 };