X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7ea1c917764fb2588fe1aadc75c49ba300f8cb2f..80a779275ae04443c568dca919adb26cf6f5002c:/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