diff --git a/src/xmlcopyeditor.h b/src/xmlcopyeditor.h index a6599c2..b0fdb67 100644 --- a/src/xmlcopyeditor.h +++ b/src/xmlcopyeditor.h @@ -379,7 +379,19 @@ class MyFrame : public wxFrame std::map > > promptMap; std::map validationPresetMap; +#ifdef __WXMSW__ + struct MyCompare + : public std::binary_function + { + bool operator() ( const wxString &x, const wxString &y ) const + { + return x.CmpNoCase ( y ) < 0; + } + }; + std::set openFileSet; +#else std::set openFileSet; +#endif std::set openLargeFileSet; std::vector tempFileVector, fileQueue; int documentCount,