X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/03647350fc7cd141953c72e0284e928847d30f44..6178debcd342963974dbdce6ac2ddb2fbe89e42a:/src/osx/carbon/colordlg.cpp diff --git a/src/osx/carbon/colordlg.cpp b/src/osx/carbon/colordlg.cpp index 6ec1b9e15a..c62b2ae5e4 100644 --- a/src/osx/carbon/colordlg.cpp +++ b/src/osx/carbon/colordlg.cpp @@ -59,7 +59,9 @@ int wxColourDialog::ShowModal() info.theColor.color.rgb.red = currentColor.red ; info.theColor.color.rgb.green = currentColor.green ; info.theColor.color.rgb.blue = currentColor.blue ; + wxDialog::OSXBeginModalDialog(); err = NPickColor(&info); + wxDialog::OSXEndModalDialog(); if ((err == noErr) && info.newColorChosen) { currentColor.red = info.theColor.color.rgb.red ;