X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8907154c1a8a6882c6797d1f16393ddfb23e7f3a..fb8d7eb7a880f1f2e32d8830f9c5e12b2536e05f:/src/os2/dirdlg.cpp diff --git a/src/os2/dirdlg.cpp b/src/os2/dirdlg.cpp index 915fda9f91..eef18aa525 100644 --- a/src/os2/dirdlg.cpp +++ b/src/os2/dirdlg.cpp @@ -1,5 +1,5 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: dirdlg.cpp +// Name: src/os2/dirdlg.cpp // Purpose: wxDirDialog // Author: David Webster // Modified by: @@ -12,16 +12,16 @@ // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" -#ifndef WX_PRECOMP -#include -#include "wx/defs.h" -#include "wx/utils.h" -#include "wx/dialog.h" #include "wx/dirdlg.h" +#include "wx/modalhook.h" + +#ifndef WX_PRECOMP + #include + #include "wx/utils.h" + #include "wx/dialog.h" #endif #include "wx/os2/private.h" -#include "wx/cmndata.h" #include #include @@ -36,14 +36,15 @@ wxDirDialog::wxDirDialog(wxWindow *parent, const wxString& message, long style, const wxPoint& pos) { m_message = message; - m_dialogStyle = style; + m_windowStyle = style; m_parent = parent; m_path = defaultPath; } int wxDirDialog::ShowModal() { + WX_HOOK_MODAL_DIALOG(); + // TODO return wxID_CANCEL; } -