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);
currentColor.green = info.theColor.color.rgb.green ;
currentColor.blue = info.theColor.color.rgb.blue ;
m_colourData.m_dataColour.FromRGBColor((WXCOLORREF*) ¤tColor);
RGBColor fontColor ;
if ( cEvent.GetParameter<RGBColor>(kEventParamFontColor, &fontColor) == noErr )
RGBColor fontColor ;
if ( cEvent.GetParameter<RGBColor>(kEventParamFontColor, &fontColor) == noErr )
- fontdata.m_fontColour.Set((WXCOLORREF*) &fontColor);
+ fontdata.m_fontColour.FromRGBColor((WXCOLORREF*) &fontColor);
else
{
CFDictionaryRef dict ;
else
{
CFDictionaryRef dict ;
{
if ( tagPtr[i] == kATSUColorTag && sizePtr[i] == sizeof(RGBColor))
{
{
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]);
break ;
}
bytePtr = (UInt32*)( (UInt8*)bytePtr + sizePtr[i]);