X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8c5907cea3231c246b879c586a7140b6dc12413f..b2644cc3ccb41de07e2160857f1cc0c2a2069d79:/include/wx/os2/colour.h diff --git a/include/wx/os2/colour.h b/include/wx/os2/colour.h index b49aa6a2c2..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,6 +73,10 @@ public: ,(unsigned char)(lColRGB >> 16) ); } + void Set(const wxString& rsColour) + { + InitFromName(rsColour); + } // // Accessors