]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/mac/colour.h
implemented native font stuff for wxMotif
[wxWidgets.git] / include / wx / mac / colour.h
index d9f82e8eb1056e60a5fa424704eed5fa66e86645..3369e9006b172238032d01916696009fceabf955 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); }
@@ -74,7 +76,7 @@ public:
 
   void InitFromName(const wxString& col);
 
-  const WXCOLORREF GetPixel() const { return m_pixel; };
+  const WXCOLORREF& GetPixel() const { return m_pixel; };
 
 private:
   bool          m_isInit;