#include "wx/osx/private.h"
#include "wx/sysopt.h"
-#include "wx/testing.h"
+#include "wx/modalhook.h"
#include <mach-o/dyld.h>
m_filterIndex = -1;
m_sheetDelegate = [[ModalDialogDelegate alloc] init];
[(ModalDialogDelegate*)m_sheetDelegate setImplementation: this];
+ m_delegate = nil;
}
wxFileDialog::~wxFileDialog()
}
NSView* accView = nil;
- m_delegate = nil;
if ( m_useFileTypeFilter )
{
int wxFileDialog::ShowModal()
{
- WX_TESTING_SHOW_MODAL_HOOK();
+ WX_HOOK_MODAL_DIALOG();
wxCFEventLoopPauseIdleEvents pause;