]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/dirdlg.cpp
Ensure that the default wxWebView backends are registered.
[wxWidgets.git] / src / os2 / dirdlg.cpp
index 28af822197b86415b87df867a2f0e69707528a7d..eef18aa52576fb4f7b19eee659ba3681cf0e7f4d 100644 (file)
 // For compilers that support precompilation, includes "wx.h".
 #include "wx/wxprec.h"
 
+#include "wx/dirdlg.h"
+#include "wx/modalhook.h"
+
 #ifndef WX_PRECOMP
     #include <stdio.h>
     #include "wx/utils.h"
     #include "wx/dialog.h"
-    #include "wx/dirdlg.h"
 #endif
 
 #include "wx/os2/private.h"
-#include "wx/cmndata.h"
 
 #include <stdlib.h>
 #include <string.h>
@@ -35,13 +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;
 }