X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7520f3da332d64a676b6f7d27a56004fabf2db36..28f12ffb86b5a32c7eaa596a095f4b01890c9f46:/src/os2/dirdlg.cpp

diff --git a/src/os2/dirdlg.cpp b/src/os2/dirdlg.cpp
index 28af822197..f833230fef 100644
--- a/src/os2/dirdlg.cpp
+++ b/src/os2/dirdlg.cpp
@@ -12,15 +12,16 @@
 // For compilers that support precompilation, includes "wx.h".
 #include "wx/wxprec.h"
 
+#include "wx/dirdlg.h"
+
 #ifndef WX_PRECOMP
     #include <stdio.h>
     #include "wx/utils.h"
     #include "wx/dialog.h"
-    #include "wx/dirdlg.h"
+    #include "wx/cmndata.h"
 #endif
 
 #include "wx/os2/private.h"
-#include "wx/cmndata.h"
 
 #include <stdlib.h>
 #include <string.h>
@@ -35,7 +36,7 @@ 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;
 }