]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/os2/colour.h
fixed the last of the off-by-one errors (some are refixed, again...)
[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