#ifndef WX_PRECOMP
#include "wx/intl.h"
- #include "wx/wxchar.h"
+ #include "wx/crt.h"
#include "wx/dcclient.h"
#include "wx/frame.h"
#include "wx/textctrl.h"
RGBColor fontColor ;
if ( cEvent.GetParameter<RGBColor>(kEventParamFontColor, &fontColor) == noErr )
- fontdata.m_fontColour.FromRGBColor((WXCOLORREF*) &fontColor);
+ {
+ fontdata.m_fontColour = fontColor;
+ }
else
{
CFDictionaryRef dict ;
{
if ( tagPtr[i] == kATSUColorTag && sizePtr[i] == sizeof(RGBColor))
{
- fontdata.m_fontColour.FromRGBColor((WXCOLORREF*) valuesPtr);
+ fontdata.m_fontColour = *(RGBColor *)valuesPtr;
break ;
}
bytePtr = (UInt32*)( (UInt8*)bytePtr + sizePtr[i]);