/////////////////////////////////////////////////////////////////////////////
-// Name: src/osx/carbon/colordlg.mm
+// Name: src/osx/carbon/colordlgosx.mm
// Purpose: wxColourDialog class. NOTE: you can use the generic class
// if you wish, instead of implementing this.
// Author: Ryan Norton
#include "wx/wxprec.h"
-#include "wx/osx/colordlg.h"
+#include "wx/colordlg.h"
#include "wx/fontdlg.h"
// ============================================================================
//
// Start the color panel modal loop
//
+ wxDialog::OSXBeginModalDialog();
NSModalSession session = [NSApp beginModalSessionForWindow:theColorPanel];
for (;;)
{
break;
}
[NSApp endModalSession:session];
+ wxDialog::OSXEndModalDialog();
//free up the memory for the delegates - we don't need them anymore
[theColorPanel setDelegate:nil];