#include "wx/colordlg.h"
#include "wx/fontdlg.h"
-#include "wx/testing.h"
+#include "wx/modalhook.h"
// ============================================================================
// implementation
NSAutoreleasePool *thePool;
thePool = [[NSAutoreleasePool alloc] init];
+ [[NSColorPanel sharedColorPanel] setShowsAlpha:YES];
if(m_colourData.GetColour().IsOk())
[[NSColorPanel sharedColorPanel] setColor:
[NSColor colorWithCalibratedRed:(CGFloat) (m_colourData.GetColour().Red() / 255.0)
}
int wxColourDialog::ShowModal()
{
- WX_TESTING_SHOW_MODAL_HOOK();
+ WX_HOOK_MODAL_DIALOG();
//Start the pool. Required for carbon interaction
//(For those curious, the only thing that happens