X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3f2711d5c119962a9fcb7198ebf351930d646e23..66b6b04535cf261b7bae7da77332835b242abd04:/src/msw/dirdlg.cpp diff --git a/src/msw/dirdlg.cpp b/src/msw/dirdlg.cpp index 3523789d38..abd115bf9a 100644 --- a/src/msw/dirdlg.cpp +++ b/src/msw/dirdlg.cpp @@ -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()