X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9a83f860948059b0273b5cc6d9e43fadad3ebfca..cdbd62d6ff290fd58acd1bc5574dfc79db3a6f70:/src/msw/wince/filedlgwce.cpp?ds=sidebyside diff --git a/src/msw/wince/filedlgwce.cpp b/src/msw/wince/filedlgwce.cpp index 6ad061639e..19a4a19101 100644 --- a/src/msw/wince/filedlgwce.cpp +++ b/src/msw/wince/filedlgwce.cpp @@ -4,7 +4,6 @@ // Author: Julian Smart // Modified by: // Created: 01/02/97 -// RCS-ID: $Id$ // Copyright: (c) Julian Smart // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -47,6 +46,7 @@ #include #include "wx/filename.h" +#include "wx/modalhook.h" // ============================================================================ // implementation @@ -112,6 +112,8 @@ void wxFileDialog::SetPath(const wxString& path) int wxFileDialog::ShowModal() { + WX_HOOK_MODAL_DIALOG(); + wxWindow* parentWindow = GetParent(); if (!parentWindow) parentWindow = wxTheApp->GetTopWindow();