X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7ea1c917764fb2588fe1aadc75c49ba300f8cb2f..2cf3a6d7bef6f20bea35062dd3d4dbf0aec9efb5:/src/mac/carbon/colordlg.cpp diff --git a/src/mac/carbon/colordlg.cpp b/src/mac/carbon/colordlg.cpp index 4109e33488..113aa958a9 100644 --- a/src/mac/carbon/colordlg.cpp +++ b/src/mac/carbon/colordlg.cpp @@ -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*) ¤tColor); + m_colourData.m_dataColour.FromRGBColor((WXCOLORREF*) ¤tColor); + return wxID_OK; } #else