]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/dirdlg.cpp
Visualage C++ V4.0 duplicate symbol fixes
[wxWidgets.git] / src / msw / dirdlg.cpp
index 3523789d38934529821d903fc29b9ec513145169..abd115bf9a14e23990fa26fd71f9885c73bad402 100644 (file)
@@ -31,6 +31,7 @@
     #include "wx/utils.h"
     #include "wx/dialog.h"
     #include "wx/dirdlg.h"
+    #include "wx/log.h"
 #endif
 
 #include "wx/msw/private.h"
@@ -57,9 +58,7 @@
 // wxWindows macros
 // ----------------------------------------------------------------------------
 
-#if !USE_SHARED_LIBRARY
     IMPLEMENT_CLASS(wxDirDialog, wxDialog)
-#endif
 
 // ----------------------------------------------------------------------------
 // private functions prototypes
@@ -89,6 +88,7 @@ wxDirDialog::wxDirDialog(wxWindow *parent,
     m_message = message;
     m_parent = parent;
     m_path = defaultPath;
+    m_path.Replace(_T("/"), _T("\\")); // SHBrowseForFolder doesn't like '/'s
 }
 
 int wxDirDialog::ShowModal()