IMPLEMENT_DYNAMIC_CLASS(wxColour, wxObject)
-#if wxOSX_USE_CARBON
+#if wxOSX_USE_COCOA_OR_CARBON
wxColour::wxColour(const RGBColor& col)
{
InitRGBColor(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;
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;