]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/os2/colour.h
applied patch 103575 (more efficient wxString comparison)
[wxWidgets.git] / include / wx / os2 / colour.h
index b49aa6a2c29ad258984dba619a04b30aa925b15d..b82c55433e3c0b653de840d908960ff411cf3b08 100644 (file)
@@ -71,6 +71,10 @@ public:
             ,(unsigned char)(lColRGB >> 16)
            );
     }
+    void Set(const wxString& rsColour)
+    {
+        InitFromName(rsColour);
+    }
 
     //
     // Accessors