]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/mgl/brush.h
removed unsecure wxTmpnam() function (patch by Francesco Montorsi)
[wxWidgets.git] / include / wx / mgl / brush.h
index f9ac95c4f18beb02b7baaf5bff431309e0912152..1bbf1a538b115a150847bb56c2b06cc7555eeaf3 100644 (file)
@@ -1,5 +1,5 @@
 /////////////////////////////////////////////////////////////////////////////
-// Name:        brush.h
+// Name:        wx/mgl/brush.h
 // Purpose:
 // Author:      Vaclav Slavik
 // Id:          $Id$
@@ -33,12 +33,11 @@ public:
     wxBrush() {}
     wxBrush(const wxColour &colour, int style = wxSOLID);
     wxBrush(const wxBitmap &stippleBitmap);
-    wxBrush(const wxBrush &brush);
-    ~wxBrush() {}
-    wxBrush& operator = (const wxBrush& brush);
+    virtual ~wxBrush() {}
     bool operator == (const wxBrush& brush) const;
     bool operator != (const wxBrush& brush) const;
-    bool Ok() const;
+    bool Ok() const { return IsOk(); }
+    bool IsOk() const;
 
     virtual int GetStyle() const;
     wxColour &GetColour() const;