X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/da63066b65c788c2d6ed792a81ec38ba4b5050b9..80dcb89812d84f41567a69ff83769b26ab519468:/include/wx/vector.h diff --git a/include/wx/vector.h b/include/wx/vector.h index f2f337fae9..b56b42e52d 100644 --- a/include/wx/vector.h +++ b/include/wx/vector.h @@ -36,6 +36,15 @@ inline void wxVectorSort(wxVector& v) #include // 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 {