#include "wx/msw/private.h"
-#if !defined(__WIN32__) || defined(__SALFORDC__)
+#if !defined(__WIN32__) || defined(__WXWINCE__)
#include <commdlg.h>
#endif
if ( m_dir.Last() != _T('\\') )
dir += _T('\\');
- m_fileNames.Sort();
+ m_fileNames.Sort(wxStringSortAscending);
m_path = dir + m_fileName;
}
else