Wx files working

This commit is contained in:
Joey Yakimowich-Payne 2023-02-11 16:21:02 -07:00
commit 30cb0f8f63
No known key found for this signature in database
GPG key ID: 6BFE655FA5ABD1E1
54 changed files with 3157 additions and 5197 deletions

View file

@ -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