]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/classic/dirdlg.cpp
don't create non-existing groups in HasEntry()
[wxWidgets.git] / src / mac / classic / dirdlg.cpp
index b9ee11f0b33c33c98690335a704c8809dafb09b1..4fc1a2b21c7be32361287bd2ff10416a889cf029 100644 (file)
 
 #ifndef WX_PRECOMP
     #include "wx/utils.h"
+    #include "wx/dialog.h"
+    #include "wx/cmndata.h"
 #endif // WX_PRECOMP
 
-#include "wx/dialog.h"
-
-#include "wx/cmndata.h"
-
 #include "wx/mac/private.h"
 
 #ifdef __DARWIN__
@@ -45,7 +43,7 @@ wxDirDialog::wxDirDialog(wxWindow *parent,
 {
     wxASSERT_MSG( NavServicesAvailable() , wxT("Navigation Services are not running") ) ;
     m_message = message;
-    m_dialogStyle = style;
+    m_windowStyle = style;
     m_parent = parent;
     m_path = defaultPath;
 }