git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38952
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
currentColor.green = info.theColor.color.rgb.green ;
currentColor.blue = info.theColor.color.rgb.blue ;
m_colourData.m_dataColour.FromRGBColor((WXCOLORREF*) ¤tColor);
+
return wxID_OK;
}
#else
RGBColor fontColor ;
if ( cEvent.GetParameter<RGBColor>(kEventParamFontColor, &fontColor) == noErr )
- fontdata.m_fontColour.Set((WXCOLORREF*) &fontColor);
+ fontdata.m_fontColour.FromRGBColor((WXCOLORREF*) &fontColor);
else
{
CFDictionaryRef dict ;
{
if ( tagPtr[i] == kATSUColorTag && sizePtr[i] == sizeof(RGBColor))
{
- fontdata.m_fontColour.Set((WXCOLORREF*) valuesPtr);
+ fontdata.m_fontColour.FromRGBColor((WXCOLORREF*) valuesPtr);
break ;
}
bytePtr = (UInt32*)( (UInt8*)bytePtr + sizePtr[i]);