X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/524c47aa3adf2af11a3069fd5da035a604f08f66..970a5babf73df32fbbb6c4e6a07b1a0d6b9001a4:/src/osx/core/colour.cpp diff --git a/src/osx/core/colour.cpp b/src/osx/core/colour.cpp index 81348d24bd..7e388aee4e 100644 --- a/src/osx/core/colour.cpp +++ b/src/osx/core/colour.cpp @@ -21,7 +21,7 @@ IMPLEMENT_DYNAMIC_CLASS(wxColour, wxObject) -#if wxOSX_USE_CARBON +#if wxOSX_USE_COCOA_OR_CARBON wxColour::wxColour(const RGBColor& col) { InitRGBColor(col); @@ -33,7 +33,7 @@ wxColour::wxColour(CGColorRef col) InitCGColorRef(col); } -#if wxOSX_USE_CARBON +#if wxOSX_USE_COCOA_OR_CARBON void wxColour::GetRGBColor( RGBColor *col ) const { col->red = (m_red << 8) + m_red; @@ -84,7 +84,7 @@ void wxColour::InitRGBA (ChannelType r, ChannelType g, ChannelType b, ChannelTyp m_cgColour.reset( col ); } -#if wxOSX_USE_CARBON +#if wxOSX_USE_COCOA_OR_CARBON void wxColour::InitRGBColor( const RGBColor& col ) { m_red = col.red >> 8;