]> 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 2eafc1cbf5fa90f9f62d7cd83241b26e0169ffb1..4fc1a2b21c7be32361287bd2ff10416a889cf029 100644 (file)
 #ifndef WX_PRECOMP
     #include "wx/utils.h"
     #include "wx/dialog.h"
+    #include "wx/cmndata.h"
 #endif // WX_PRECOMP
 
-#include "wx/cmndata.h"
-
 #include "wx/mac/private.h"
 
 #ifdef __DARWIN__
@@ -44,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;
 }