]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/brush.h
removed unsecure wxTmpnam() function (patch by Francesco Montorsi)
[wxWidgets.git] / include / wx / msw / brush.h
index 4a83d7b57d678626b81d518ad9ed3ac1d145dd32..3500cbf3b37c8cd70dd9535547d7a4c3505f9440 100644 (file)
@@ -42,7 +42,8 @@ public:
     virtual int GetStyle() const;
     wxBitmap *GetStipple() const;
 
-    bool Ok() const { return m_refData != NULL; }
+    bool Ok() const { return IsOk(); }
+    bool IsOk() const { return m_refData != NULL; }
 
     // return the HBRUSH for this brush
     virtual WXHANDLE GetResourceHandle() const;