#include "wx/utils.h"
#include "wx/dialog.h"
#include "wx/dirdlg.h"
+ #include "wx/log.h"
#endif
#include "wx/msw/private.h"
// wxWindows macros
// ----------------------------------------------------------------------------
-#if !USE_SHARED_LIBRARY
IMPLEMENT_CLASS(wxDirDialog, wxDialog)
-#endif
// ----------------------------------------------------------------------------
// private functions prototypes
m_message = message;
m_parent = parent;
m_path = defaultPath;
+ m_path.Replace(_T("/"), _T("\\")); // SHBrowseForFolder doesn't like '/'s
}
int wxDirDialog::ShowModal()