X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a06066343d670807825adcafebfa4fb8cfff5521..19e30148e18cc99296b26503c155e5cef59045f4:/include/wx/os2/colour.h

diff --git a/include/wx/os2/colour.h b/include/wx/os2/colour.h
index a69fa86430..e706844681 100644
--- a/include/wx/os2/colour.h
+++ b/include/wx/os2/colour.h
@@ -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; }
 
     //