]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/mac/colour.h
compilation warning (and possible bug) fix
[wxWidgets.git] / include / wx / mac / colour.h
index d9f82e8eb1056e60a5fa424704eed5fa66e86645..a811708f72925205bb57787d9716b52350dd4a0a 100644 (file)
@@ -28,6 +28,8 @@ public:
   wxColour();
     // from RGB
   wxColour( unsigned char red, unsigned char green, unsigned char blue );
+  wxColour( unsigned long colRGB ) { Set(colRGB); }
+  
     // implicit conversion from the colour name
   wxColour( const wxString &colourName ) { InitFromName(colourName); }
   wxColour( const char *colourName ) { InitFromName(colourName); }