X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/747592e7cb116a051e0964860a7e03a297704574..6f026b5b63fe7ccb025e84509886f74772b9df13:/src/cocoa/dirdlg.mm diff --git a/src/cocoa/dirdlg.mm b/src/cocoa/dirdlg.mm index 1c3c95d8a5..e0a066f359 100644 --- a/src/cocoa/dirdlg.mm +++ b/src/cocoa/dirdlg.mm @@ -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,6 +30,7 @@ #endif #include "wx/filename.h" +#include "wx/modalhook.h" #include "wx/cocoa/autorelease.h" #include "wx/cocoa/string.h" @@ -104,6 +104,8 @@ wxDirDialog::~wxDirDialog() int wxDirDialog::ShowModal() { + WX_HOOK_MODAL_DIALOG(); + wxAutoNSAutoreleasePool thePool; m_fileNames.Empty();