]> git.saurik.com Git - wxWidgets.git/blobdiff - src/cocoa/filedlg.mm
Add a helper wxApp::GetValidTraits() method.
[wxWidgets.git] / src / cocoa / filedlg.mm
index 613f75bfeab2b521314ac61297a1ad60d902bee6..e953896a7b79d264ac34eb2a5f344b6dcfe11cde 100644 (file)
@@ -33,7 +33,7 @@
 
 #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>
@@ -197,7 +197,7 @@ void wxFileDialog::SetPath(const wxString& path)
 
 int wxFileDialog::ShowModal()
 {
-    WX_TESTING_SHOW_MODAL_HOOK();
+    WX_HOOK_MODAL_DIALOG();
 
     wxAutoNSAutoreleasePool thePool;