X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2662e49e09dcdddd8c0c571e70893bc702449e93..4cb122de97b40f0b6c8896f40847a7aaf762abb5:/src/msw/filedlg.cpp 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 >>============================