Move definition of wxListIteratorFunction and ..SortFuntion to defs.h so it can be used from elsewhere

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55711 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
2008-09-18 19:05:21 +00:00
parent 8e1903816a
commit 4f47a8d0c6
2 changed files with 15 additions and 12 deletions

View File

@@ -45,21 +45,9 @@
// types
// ----------------------------------------------------------------------------
// type of compare function for list sort operation (as in 'qsort'): it should
// return a negative value, 0 or positive value if the first element is less
// than, equal or greater than the second
extern "C"
{
typedef int (* LINKAGEMODE wxSortCompareFunction)(const void *elem1, const void *elem2);
}
class WXDLLIMPEXP_FWD_BASE wxObjectListNode;
typedef wxObjectListNode wxNode;
//
typedef int (* LINKAGEMODE wxListIterateFunction)(void *current);
#if wxUSE_STL
#define wxLIST_COMPATIBILITY