wxWidgets3: update to svn r70933
This commit is contained in:
1 parent
0ed8af2287
commit
a648aca65c
906 files changed
+39465
-17241
No files matched your search
+4
-4
@@ -14,7 +14,7 @@
|
||||
|
||||
#include "wx/defs.h"
|
||||
|
||||
#if wxUSE_STL
|
||||
#if wxUSE_STD_CONTAINERS
|
||||
|
||||
#include <vector>
|
||||
#include <algorithm>
|
||||
@@ -26,7 +26,7 @@ inline void wxVectorSort(wxVector<T>& v)
|
||||
std::sort(v.begin(), v.end());
|
||||
}
|
||||
|
||||
#else // !wxUSE_STL
|
||||
#else // !wxUSE_STD_CONTAINERS
|
||||
|
||||
#include "wx/utils.h"
|
||||
#include "wx/scopeguard.h"
|
||||
@@ -457,7 +457,7 @@ namespace wxPrivate
|
||||
template<typename T>
|
||||
struct wxVectorComparator
|
||||
{
|
||||
static int wxCMPFUNC_CONV
|
||||
static int
|
||||
Compare(const void* pitem1, const void* pitem2, const void* )
|
||||
{
|
||||
const T& item1 = *reinterpret_cast<const T*>(pitem1);
|
||||
@@ -485,7 +485,7 @@ void wxVectorSort(wxVector<T>& v)
|
||||
|
||||
|
||||
|
||||
#endif // wxUSE_STL/!wxUSE_STL
|
||||
#endif // wxUSE_STD_CONTAINERS/!wxUSE_STD_CONTAINERS
|
||||
|
||||
#if WXWIN_COMPATIBILITY_2_8
|
||||
#define WX_DECLARE_VECTORBASE(obj, cls) typedef wxVector<obj> cls
|
||||
|
||||
Reference in new issue
Block a user