// Modified by:
// Created: 08.06.03 (extracted from src/generic/listctrl.cpp)
// RCS-ID: $Id$
-// Copyright: (c) 2000-2003 Vadim Zeitlin <vadim@wxwindows.org>
+// Copyright: (c) 2000-2003 Vadim Zeitlin <vadim@wxwidgets.org>
// Licence: wxWindows licence
///////////////////////////////////////////////////////////////////////////////
// wxSelectedIndices is just a sorted array of indices
// ----------------------------------------------------------------------------
-inline int CMPFUNC_CONV wxSizeTCmpFn(size_t n1, size_t n2) { return n1 - n2; }
+inline int CMPFUNC_CONV wxSizeTCmpFn(size_t n1, size_t n2)
+{
+ return (int)(n1 - n2);
+}
-WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_LONG(size_t,
- wxSizeTCmpFn,
- wxSelectedIndices);
+WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_SIZE_T(size_t,
+ wxSizeTCmpFn,
+ wxSelectedIndices);
// ----------------------------------------------------------------------------
// wxSelectionStore is used to store the selected items in the virtual