]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/generic/colour.h
addind nonowned window implementation
[wxWidgets.git] / include / wx / generic / colour.h
index c0d26dad039ba7e93a69f65c637b66a6e36158bd..ca1ebf05b960ccfce8fbdf4517d4689b5afe4fdc 100644 (file)
@@ -20,17 +20,15 @@ class WXDLLEXPORT wxColour: public wxColourBase
 public:
     // constructors
     // ------------
 public:
     // constructors
     // ------------
-
-    // default
-    wxColour();
     DEFINE_STD_WXCOLOUR_CONSTRUCTORS
 
     // copy ctors and assignment operators
     DEFINE_STD_WXCOLOUR_CONSTRUCTORS
 
     // copy ctors and assignment operators
-    wxColour(const wxColour& col);
-    wxColour& operator=(const wxColour& col);
+    wxColour(const wxColour& col)
+    {
+        *this = col;
+    }
 
 
-    // dtor
-    virtual ~wxColour();
+    wxColour& operator=(const wxColour& col);
 
     // accessors
     virtual bool IsOk() const { return m_isInit; }
 
     // accessors
     virtual bool IsOk() const { return m_isInit; }