]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/x11/brush.h
extracted wxGtkString in a separate file, it's also needed by wxX11
[wxWidgets.git] / include / wx / x11 / brush.h
index 47581c103496a5b14d4987f02034483c722703c7..c261ba205ac91eb04db0d59320536441eda488c2 100644 (file)
@@ -35,7 +35,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); }