summaryrefslogtreecommitdiff
path: root/src/wx
diff options
context:
space:
mode:
Diffstat (limited to 'src/wx')
-rw-r--r--src/wx/content_panel.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/wx/content_panel.cc b/src/wx/content_panel.cc
index 6d4a11868..ee9ed2bf8 100644
--- a/src/wx/content_panel.cc
+++ b/src/wx/content_panel.cc
@@ -32,6 +32,7 @@
#include "lib/content_factory.h"
#include "lib/image_content.h"
#include "lib/dcp_content.h"
+#include "lib/case_insensitive_sorter.h"
#include "lib/playlist.h"
#include <wx/wx.h>
#include <wx/notebook.h>
@@ -520,7 +521,7 @@ ContentPanel::add_files (list<boost::filesystem::path> paths)
alphabetical sort is expected here.
*/
- paths.sort ();
+ paths.sort (CaseInsensitiveSorter ());
/* XXX: check for lots of files here and do something */