]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/os2/colour.h
Little tweaks and fixes.
[wxWidgets.git] / include / wx / os2 / colour.h
index a69fa86430adf563e1d518d23058455cf6adc5d1..e706844681353f08e3177b5f7b42fb7476f47c15 100644 (file)
@@ -35,6 +35,8 @@ public:
              ,unsigned char cBlue
             );
 
+    wxColour( unsigned long colRGB ) { Set(colRGB); }
+
     //
     // Implicit conversion from the colour name
     //
@@ -71,9 +73,14 @@ public:
             ,(unsigned char)(lColRGB >> 16)
            );
     }
+    void Set(const wxString& rsColour)
+    {
+        InitFromName(rsColour);
+    }
 
     //
     // Accessors
+    //
     bool Ok(void) const {return m_bIsInit; }
 
     //