Fixed to fill in m_dir member when file selected so that GetDirectory

returns the correct value


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3269 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
J. Russell Smyth 1999-08-04 20:19:40 +00:00
parent 51929198e4
commit c5be98a644

View File

@ -326,6 +326,7 @@ int wxFileDialog::ShowModal(void)
m_path = fileNameBuffer;
m_fileName = wxFileNameFromPath(fileNameBuffer);
m_dir = wxPathOnly(fileNameBuffer);
//=== Simulating the wxOVERWRITE_PROMPT >>============================