From: J. Russell Smyth Date: Wed, 4 Aug 1999 20:19:40 +0000 (+0000) Subject: Fixed to fill in m_dir member when file selected so that GetDirectory X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/c5be98a644a097d4d0429b9754e04906327f645e?ds=inline 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 --- diff --git a/src/msw/filedlg.cpp b/src/msw/filedlg.cpp index 79c17ba865..6bf29addb8 100644 --- a/src/msw/filedlg.cpp +++ b/src/msw/filedlg.cpp @@ -326,6 +326,7 @@ int wxFileDialog::ShowModal(void) m_path = fileNameBuffer; m_fileName = wxFileNameFromPath(fileNameBuffer); + m_dir = wxPathOnly(fileNameBuffer); //=== Simulating the wxOVERWRITE_PROMPT >>============================