]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/carbon/dirdlg.cpp
fix DoSetSelection(): it did nothing when there was no old selection
[wxWidgets.git] / src / mac / carbon / dirdlg.cpp
index 60ace1175cee30fff116843a5e2a93660e82e7e4..fedf03ccaeb4f0421b7744d984c16f0b547c8217 100644 (file)
 
 #ifndef WX_PRECOMP
     #include "wx/utils.h"
 
 #ifndef WX_PRECOMP
     #include "wx/utils.h"
+    #include "wx/dialog.h"
+    #include "wx/cmndata.h"
 #endif // WX_PRECOMP
 
 #endif // WX_PRECOMP
 
-#include "wx/dialog.h"
-
-#include "wx/cmndata.h"
 #include "wx/filename.h"
 
 #include "wx/mac/private.h"
 #include "wx/filename.h"
 
 #include "wx/mac/private.h"
@@ -72,7 +71,6 @@ wxDirDialog::wxDirDialog(wxWindow *parent,
 {
     wxASSERT_MSG( NavServicesAvailable() , wxT("Navigation Services are not running") ) ;
     m_message = message;
 {
     wxASSERT_MSG( NavServicesAvailable() , wxT("Navigation Services are not running") ) ;
     m_message = message;
-    m_dialogStyle = style;
     m_parent = parent;
     m_path = defaultPath;
 }
     m_parent = parent;
     m_path = defaultPath;
 }