]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/carbon/colordlg.cpp
on demand creation of native CGContexts , so that pure text measuring contexts don...
[wxWidgets.git] / src / mac / carbon / colordlg.cpp
index 4109e33488ae94d2683282a0c32a972f68cccb10..113aa958a929bfdc27d15abab55b96f8f1a84a64 100644 (file)
@@ -68,7 +68,8 @@ int wxColourDialog::ShowModal()
         currentColor.red = info.theColor.color.rgb.red ;
         currentColor.green = info.theColor.color.rgb.green ;
         currentColor.blue = info.theColor.color.rgb.blue ;
-        m_colourData.m_dataColour.Set((WXCOLORREF*) &currentColor);
+        m_colourData.m_dataColour.FromRGBColor((WXCOLORREF*) &currentColor);
+
         return wxID_OK;
     }
 #else