]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk1/brush.h
compatibility fix: have wxListKey ctors from C strings so that passing string literal...
[wxWidgets.git] / include / wx / gtk1 / brush.h
index f6efa7c8b579b0c9e845a28a6494bba85a357e8e..51e1c7854854a3771190d9dbea04a386dd5b0329 100644 (file)
@@ -36,7 +36,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); }