X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8cbc59fe84f046685b873cf58f6c56debe59de1c..9914bfbb77f48baf869b63aff58feb2b145ff4d3:/src/osx/carbon/colordlg.cpp diff --git a/src/osx/carbon/colordlg.cpp b/src/osx/carbon/colordlg.cpp index 4a226c357a..6ec1b9e15a 100644 --- a/src/osx/carbon/colordlg.cpp +++ b/src/osx/carbon/colordlg.cpp @@ -48,13 +48,13 @@ bool wxColourDialog::Create(wxWindow *parent, wxColourData *data) int wxColourDialog::ShowModal() { RGBColor currentColor ; - + m_colourData.m_dataColour.GetRGBColor( ¤tColor ); NColorPickerInfo info; OSStatus err ; memset(&info, 0, sizeof(info)) ; // TODO : use parent to determine better position and then kAtSpecifiedOrigin - info.placeWhere = kCenterOnMainScreen ; + info.placeWhere = kCenterOnMainScreen ; info.flags = kColorPickerDialogIsMoveable | kColorPickerDialogIsModal ; info.theColor.color.rgb.red = currentColor.red ; info.theColor.color.rgb.green = currentColor.green ;