]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/carbon/colordlg.cpp
Finally fixed control scrolling
[wxWidgets.git] / src / mac / carbon / colordlg.cpp
index db694ec08219f7ca445e627a3b55e1f534bc1d01..6948802acd1a38d2f42271d5b1f51b6d6997d2a2 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.FromRGBColor((WXCOLORREF*) &currentColor);
+        m_colourData.m_dataColour = currentColor;
+
         return wxID_OK;
     }
 #else