]> git.saurik.com Git - wxWidgets.git/blobdiff - src/osx/carbon/filedlg.cpp
Fit modeless preferences dialog to its contents too.
[wxWidgets.git] / src / osx / carbon / filedlg.cpp
index d04dfb192362bcf1f70e58e5dfe1d870e44c62c9..b0a4e7b51b444608790d6c4c781fe442c02fa9e4 100644 (file)
@@ -26,7 +26,7 @@
 #include "wx/filename.h"
 
 #include "wx/osx/private.h"
-#include "wx/testing.h"
+#include "wx/modalhook.h"
 
 #ifndef __DARWIN__
     #include <Navigation.h>
@@ -477,7 +477,7 @@ void wxFileDialog::SetupExtraControls(WXWindow nativeWindow)
 
 int wxFileDialog::ShowModal()
 {
-    WX_TESTING_SHOW_MODAL_HOOK();
+    WX_HOOK_MODAL_DIALOG();
 
     m_paths.Empty();
     m_fileNames.Empty();