]> git.saurik.com Git - wxWidgets.git/blobdiff - src/cocoa/dirdlg.mm
missing commit
[wxWidgets.git] / src / cocoa / dirdlg.mm
index 1c3c95d8a5c5502a89b161c44cdb55ad8c235def..2f2ce30012084ad87bda26c4663926c7dd8ca649 100644 (file)
@@ -31,6 +31,7 @@
 #endif
 
 #include "wx/filename.h"
+#include "wx/modalhook.h"
 
 #include "wx/cocoa/autorelease.h"
 #include "wx/cocoa/string.h"
@@ -104,6 +105,8 @@ wxDirDialog::~wxDirDialog()
 
 int wxDirDialog::ShowModal()
 {
+    WX_HOOK_MODAL_DIALOG();
+
     wxAutoNSAutoreleasePool thePool;
 
     m_fileNames.Empty();