]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/string.cpp
Insure suitable choices of path/drive separator on OS/2.
[wxWidgets.git] / src / common / string.cpp
index f0cb6d2910382f5efead05073558b808ca9d5c2d..aa461904f498b58daab618ee883fb97f27159fc8 100644 (file)
@@ -2325,12 +2325,12 @@ bool wxArrayString::operator==(const wxArrayString& a) const
 
 #endif // !wxUSE_STL
 
-int wxStringSortAscending(wxString* s1, wxString* s2)
+int wxCMPFUNC_CONV wxStringSortAscending(wxString* s1, wxString* s2)
 {
     return wxStrcmp(s1->c_str(), s2->c_str());
 }
 
-int wxStringSortDescending(wxString* s1, wxString* s2)
+int wxCMPFUNC_CONV wxStringSortDescending(wxString* s1, wxString* s2)
 {
     return -wxStrcmp(s1->c_str(), s2->c_str());
 }