From c39e82f097ecdc5fc9ad24f67e1c71458d4d1ae3 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Tue, 22 Jul 2003 01:47:16 +0000 Subject: [PATCH] don't sort filenames returned from the dialog git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22226 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/msw/filedlg.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/msw/filedlg.cpp b/src/msw/filedlg.cpp index 017b3fc981..ba52c18fcc 100644 --- a/src/msw/filedlg.cpp +++ b/src/msw/filedlg.cpp @@ -303,10 +303,11 @@ int wxFileDialog::ShowModal() if ( ( m_dialogStyle & wxMULTIPLE ) && #if defined(OFN_EXPLORER) - ( fileNameBuffer[of.nFileOffset-1] == wxT('\0') ) ) + ( fileNameBuffer[of.nFileOffset-1] == wxT('\0') ) #else - ( fileNameBuffer[of.nFileOffset-1] == wxT(' ') ) ) + ( fileNameBuffer[of.nFileOffset-1] == wxT(' ') ) #endif // OFN_EXPLORER + ) { #if defined(OFN_EXPLORER) m_dir = fileNameBuffer; @@ -334,7 +335,6 @@ int wxFileDialog::ShowModal() if ( m_dir.Last() != _T('\\') ) dir += _T('\\'); - m_fileNames.Sort(wxStringSortAscending); m_path = dir + m_fileName; } else