From: Vadim Zeitlin Date: Sat, 10 Mar 2007 16:03:49 +0000 (+0000) Subject: compilation fix after last change X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/817414944059fe4e8c4d2323132e4aee19a47bb5 compilation fix after last change git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44715 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/mac/carbon/fontdlg.cpp b/src/mac/carbon/fontdlg.cpp index e18c299903..5e0b975781 100644 --- a/src/mac/carbon/fontdlg.cpp +++ b/src/mac/carbon/fontdlg.cpp @@ -152,7 +152,7 @@ pascal OSStatus wxMacCarbonFontPanelHandler(EventHandlerCallRef nextHandler, Eve { if ( tagPtr[i] == kATSUColorTag && sizePtr[i] == sizeof(RGBColor)) { - fontdata.m_fontColour.FromRGBColor(*(RGBColor *)valuesPtr); + fontdata.m_fontColour = *(RGBColor *)valuesPtr; break ; } bytePtr = (UInt32*)( (UInt8*)bytePtr + sizePtr[i]);