X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2662e49e09dcdddd8c0c571e70893bc702449e93..50bcd1ae77ba4953d62c9141a78a36b5f4b57936:/src/msw/filedlg.cpp?ds=sidebyside 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 >>============================