#include "wx/cocoa/autorelease.h"
#include "wx/cocoa/string.h"
-#include "wx/testing.h"
+#include "wx/modalhook.h"
#import <AppKit/NSOpenPanel.h>
#import <AppKit/NSSavePanel.h>
int wxFileDialog::ShowModal()
{
- WX_TESTING_SHOW_MODAL_HOOK();
+ WX_HOOK_MODAL_DIALOG();
wxAutoNSAutoreleasePool thePool;