From: Vadim Zeitlin Date: Wed, 6 Mar 2002 15:52:08 +0000 (+0000) Subject: explained how the existing array declarations must be updated X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/0eeeb25fee375c1afa6b77dfc650c0ccc1da1d92 explained how the existing array declarations must be updated git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14463 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/docs/changes.txt b/docs/changes.txt index 6d1f872490..453b074905 100644 --- a/docs/changes.txt +++ b/docs/changes.txt @@ -10,6 +10,11 @@ wxBase: under 64 bit architectures, please replace it with RemoveAt() in your code. +- wxArray macros have been changed to fix runtime problems under 64 bit + architectures and as a side effect of this WX_DEFINE_ARRAY() can only be + used now for the pointer types, WX_DEFINE_ARRAY_INT should be used for the + arrays containing non-pointers. + - wxObject::CopyObject() and Clone() methods were removed because they simply don't make sense for all objects @@ -17,11 +22,6 @@ wxBase: by all derived classes, if you have user-defined event classes please add "wxEvent *Clone() const { return new MyEvent(*this); }" line to them -- wxArray macros have been changed to fix runtime problems under 64 bit - architectures. The base class is now implemented once for each needed - primitive type in order to avoid invalid reference casts. Macros are - provided to implement new arrays using these primitive base arrays. - All (GUI): - the event type constants are not constants any more but are dynamically