expand . into cwd
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13467 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
7a5df8619c
commit
ab8d2b0278
@ -68,7 +68,9 @@ wxGenericDirDialog::wxGenericDirDialog(wxWindow* parent, const wxString& title,
|
||||
|
||||
m_path = defaultPath;
|
||||
if (m_path == wxT("~"))
|
||||
wxGetHomeDir( &m_path );
|
||||
wxGetHomeDir(&m_path);
|
||||
if (m_path == wxT("."))
|
||||
m_path = wxGetCwd();
|
||||
|
||||
wxBoxSizer *topsizer = new wxBoxSizer( wxVERTICAL );
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user