]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/carbon/fontdlg.cpp
added wxListCtrl::SetItemPtrData()
[wxWidgets.git] / src / mac / carbon / fontdlg.cpp
index e18c299903a96a0e9e41806fe3158b0b24286f09..5e0b9757812762cddc194e854f266cba2aa8d5dd 100644 (file)
@@ -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]);