X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5fce622a219897e1dde2586f74466cd123dd15e8..07aec89fe1e7bad8010911aa8863efecfa909946:/src/msw/dirdlg.cpp?ds=sidebyside diff --git a/src/msw/dirdlg.cpp b/src/msw/dirdlg.cpp index 6b8e2027e1..620d74b8ea 100644 --- a/src/msw/dirdlg.cpp +++ b/src/msw/dirdlg.cpp @@ -4,7 +4,6 @@ // Author: Julian Smart // Modified by: // Created: 01/02/97 -// RCS-ID: $Id$ // Copyright: (c) Julian Smart // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -30,6 +29,7 @@ (defined(__HANDHELDPC__) && (_WIN32_WCE >= 500))) #include "wx/dirdlg.h" +#include "wx/modalhook.h" #ifndef WX_PRECOMP #include "wx/utils.h" @@ -220,6 +220,8 @@ void wxDirDialog::SetPath(const wxString& path) int wxDirDialog::ShowModal() { + WX_HOOK_MODAL_DIALOG(); + wxWindow* const parent = GetParent(); WXHWND hWndParent = parent ? GetHwndOf(parent) : NULL;