]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/dirdlg.cpp
Add doc for wxGraphicsContext.Create(), which is a lightweight context with no target...
[wxWidgets.git] / src / os2 / dirdlg.cpp
index 9dacdc82d3ed99914d80ee0a71235cef9fccdd73..eef18aa52576fb4f7b19eee659ba3681cf0e7f4d 100644 (file)
 #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/cmndata.h"
 #endif
 
 #include "wx/os2/private.h"
@@ -36,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;
 }