]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/os2/colour.h
simplified WXDLLEXPORT/IMPORT defines, added WXEXPORT/IMPORT
[wxWidgets.git] / include / wx / os2 / colour.h
index b49aa6a2c29ad258984dba619a04b30aa925b15d..e706844681353f08e3177b5f7b42fb7476f47c15 100644 (file)
@@ -35,6 +35,8 @@ public:
              ,unsigned char cBlue
             );
 
+    wxColour( unsigned long colRGB ) { Set(colRGB); }
+
     //
     // Implicit conversion from the colour name
     //
@@ -71,6 +73,10 @@ public:
             ,(unsigned char)(lColRGB >> 16)
            );
     }
+    void Set(const wxString& rsColour)
+    {
+        InitFromName(rsColour);
+    }
 
     //
     // Accessors