don't use WXDLLIMPEXP_BASE with wx[Sorted]Array_SortFunction, this results in link errors with VC[89] when building a DLL and shouldn't be necessary with any other compilers neither as these classes have only inline methods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56600 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -84,7 +84,7 @@ typedef int (wxCMPFUNC_CONV *CMPFUNC)(const void* pItem1, const void* pItem2);
|
|||||||
#if wxUSE_STL
|
#if wxUSE_STL
|
||||||
|
|
||||||
template<class T>
|
template<class T>
|
||||||
class WXDLLIMPEXP_BASE wxArray_SortFunction
|
class wxArray_SortFunction
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
typedef int (wxCMPFUNC_CONV *CMPFUNC)(T* pItem1, T* pItem2);
|
typedef int (wxCMPFUNC_CONV *CMPFUNC)(T* pItem1, T* pItem2);
|
||||||
@@ -97,7 +97,7 @@ private:
|
|||||||
};
|
};
|
||||||
|
|
||||||
template<class T, typename F>
|
template<class T, typename F>
|
||||||
class WXDLLIMPEXP_BASE wxSortedArray_SortFunction
|
class wxSortedArray_SortFunction
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
typedef F CMPFUNC;
|
typedef F CMPFUNC;
|
||||||
|
Reference in New Issue
Block a user