Wx files working
This commit is contained in:
parent
c417beda6d
commit
30cb0f8f63
54 changed files with 3157 additions and 5197 deletions
|
|
@ -63,6 +63,11 @@ WXDLLIMPEXP_BASE void wxQsort(void* pbase, size_t total_elems,
|
|||
|
||||
#endif // !wxQSORT_DECLARED
|
||||
|
||||
// Fix using placement new in case it was redefined by wx/msw/msvcrt.h.
|
||||
#ifdef WXDEBUG_NEW
|
||||
#undef new
|
||||
#endif
|
||||
|
||||
namespace wxPrivate
|
||||
{
|
||||
|
||||
|
|
@ -715,6 +720,11 @@ inline bool wxVectorContains(const wxVector<T>& v, const T& obj)
|
|||
return false;
|
||||
}
|
||||
|
||||
// Redefine if it we undefined it above.
|
||||
#ifdef WXDEBUG_NEW
|
||||
#define new WXDEBUG_NEW
|
||||
#endif
|
||||
|
||||
#endif // wxUSE_STD_CONTAINERS/!wxUSE_STD_CONTAINERS
|
||||
|
||||
// Define vector::shrink_to_fit() equivalent which can be always used, even
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue