]> git.saurik.com Git - wxWidgets.git/blobdiff - src/cocoa/dirdlg.mm
Add wxActivateEvent::GetActivationReason().
[wxWidgets.git] / src / cocoa / dirdlg.mm
index bc4613aa22e2503433cd9733772a6de2ab300edd..e0a066f359f65a3ab7cecde4c55ad85ff2434112 100644 (file)
@@ -4,7 +4,6 @@
 // Author:      Ryan Norton
 // Modified by: Hiroyuki Nakamura(maloninc)
 // Created:     2006-01-10
-// RCS-ID:      $Id$
 // Copyright:   (c) Ryan Norton
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
@@ -31,7 +30,7 @@
 #endif
 
 #include "wx/filename.h"
-#include "wx/testing.h"
+#include "wx/modalhook.h"
 
 #include "wx/cocoa/autorelease.h"
 #include "wx/cocoa/string.h"
@@ -105,7 +104,7 @@ wxDirDialog::~wxDirDialog()
 
 int wxDirDialog::ShowModal()
 {
-    WX_TESTING_SHOW_MODAL_HOOK();
+    WX_HOOK_MODAL_DIALOG();
 
     wxAutoNSAutoreleasePool thePool;