More WinCE mods.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21890 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2003-07-11 11:21:47 +00:00
parent 5e9670446a
commit 1c193821a9
34 changed files with 685 additions and 113 deletions

View File

@@ -519,7 +519,11 @@ void wxListBase::Sort(const wxSortCompareFunction compfunc)
}
// sort the array
qsort((void *)objArray,num,sizeof(wxObject *),compfunc);
qsort((void *)objArray,num,sizeof(wxObject *),
#ifdef __WXWINCE__
(int (__cdecl *)(const void *,const void *))
#endif
compfunc);
// put the sorted pointers back into the list
objPtr = objArray;
@@ -722,7 +726,12 @@ bool wxStringList::Member(const wxChar *s) const
return FALSE;
}
#ifdef __WXWINCE__
extern "C" int __cdecl
#else
extern "C" int LINKAGEMODE
#endif
wx_comparestrings(const void *arg1, const void *arg2)
{
wxChar **s1 = (wxChar **) arg1;