]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/filedlg.cpp
Fixed my fix
[wxWidgets.git] / src / msw / filedlg.cpp
index 79c17ba8650794b0c99e82b467a497f8dda34f92..6bf29addb8b8595658fa4dbaac6ed12746b16488 100644 (file)
@@ -326,6 +326,7 @@ int wxFileDialog::ShowModal(void)
 
         m_path = fileNameBuffer;
         m_fileName = wxFileNameFromPath(fileNameBuffer);
+        m_dir = wxPathOnly(fileNameBuffer);
 
 
         //=== Simulating the wxOVERWRITE_PROMPT >>============================