]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk/brush.h
fixed all the other ports broken by controls labels in wxToolBar patch commit
[wxWidgets.git] / include / wx / gtk / brush.h
index 47ebc69caa31c8346ed069cc03ffcf64e35a2936..6d9a4104297dc07502b8269f68f4becfcb14d9d0 100644 (file)
@@ -26,7 +26,8 @@ public:
     wxBrush( const wxBitmap &stippleBitmap );
     virtual ~wxBrush();
 
-    bool Ok() const { return m_refData != NULL; }
+    bool Ok() const { return IsOk(); }
+    bool IsOk() const { return m_refData != NULL; }
 
     bool operator == ( const wxBrush& brush ) const;
     bool operator != (const wxBrush& brush) const { return !(*this == brush); }