]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/vector.h
support SDK < 10.6, fixes #14902
[wxWidgets.git] / include / wx / vector.h
index f2f337fae9492a350c8c529b18c15f407db24884..b56b42e52daa3f4259c8a04dd693cbd45284e74d 100644 (file)
@@ -36,6 +36,15 @@ inline void wxVectorSort(wxVector<T>& v)
 #include <new> // for placement new
 #include "wx/afterstd.h"
 
+// wxQsort is declared in wx/utils.h, but can't include that file here,
+// it indirectly includes this file. Just lovely...
+typedef int (*wxSortCallback)(const void* pItem1,
+                              const void* pItem2,
+                              const void* user_data);
+WXDLLIMPEXP_BASE void wxQsort(void* pbase, size_t total_elems,
+                              size_t size, wxSortCallback cmp,
+                              const void* user_data);
+
 namespace wxPrivate
 {