/////////////////////////////////////////////////////////////////////////////
-// Name: colordlg.cpp
+// Name: src/osx/carbon/colordlg.cpp
// Purpose: wxColourDialog class. NOTE: you can use the generic class
// if you wish, instead of implementing this.
// Author: Stefan Csomor
#include "wx/wxprec.h"
-#include "wx/osx/colordlg.h"
+#include "wx/colordlg.h"
#include "wx/fontdlg.h"
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 ;