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:
Václav Slavík 2002-01-08 23:36:57 +00:00
parent 7a5df8619c
commit ab8d2b0278

View File

@ -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 );