]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/mac/carbon/colour.h
use wxString, not wxChar*, in wxDataFormat ctor and SetId() method
[wxWidgets.git] / include / wx / mac / carbon / colour.h
index 9acf4d42b9d6e291abb105ff47db0bf614a8d093..b024afe21814c48774b7a2a5780d2b27d95b551d 100644 (file)
@@ -15,6 +15,8 @@
 #include "wx/object.h"
 #include "wx/string.h"
 
+struct RGBColor;
+
 // Colour
 class WXDLLEXPORT wxColour: public wxColourBase
 {
@@ -51,6 +53,10 @@ public:
 
     const WXCOLORREF& GetPixel() const { return m_pixel; };
 
+    // Mac-specific ctor and assignment operator from the native colour
+    wxColour(const RGBColor& col);
+    wxColour& operator=(const RGBColor& col);
+
 protected :
 
     // Helper function