X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f84a986cfc6e512240b77fcdfbacc769b8a0cd02..55bfbcb92b41ab1c6a0d490f2f3fcadefc069bb7:/include/wx/mac/carbon/colour.h diff --git a/include/wx/mac/carbon/colour.h b/include/wx/mac/carbon/colour.h index 9acf4d42b9..b024afe218 100644 --- a/include/wx/mac/carbon/colour.h +++ b/include/wx/mac/carbon/colour.h @@ -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