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:
@@ -68,7 +68,9 @@ wxGenericDirDialog::wxGenericDirDialog(wxWindow* parent, const wxString& title,
|
|||||||
|
|
||||||
m_path = defaultPath;
|
m_path = defaultPath;
|
||||||
if (m_path == wxT("~"))
|
if (m_path == wxT("~"))
|
||||||
wxGetHomeDir( &m_path );
|
wxGetHomeDir(&m_path);
|
||||||
|
if (m_path == wxT("."))
|
||||||
|
m_path = wxGetCwd();
|
||||||
|
|
||||||
wxBoxSizer *topsizer = new wxBoxSizer( wxVERTICAL );
|
wxBoxSizer *topsizer = new wxBoxSizer( wxVERTICAL );
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user