]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/dirdlg.cpp
Line drawing correction.
[wxWidgets.git] / src / msw / dirdlg.cpp
index 156dfaa4d40426ebebf9b59ca4cec0686bc63f5f..abd115bf9a14e23990fa26fd71f9885c73bad402 100644 (file)
@@ -58,9 +58,7 @@
 // wxWindows macros
 // ----------------------------------------------------------------------------
 
-#if !USE_SHARED_LIBRARY
     IMPLEMENT_CLASS(wxDirDialog, wxDialog)
-#endif
 
 // ----------------------------------------------------------------------------
 // private functions prototypes
@@ -90,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()