]> git.saurik.com Git - wxWidgets.git/commitdiff
explained how the existing array declarations must be updated
authorVadim Zeitlin <vadim@wxwidgets.org>
Wed, 6 Mar 2002 15:52:08 +0000 (15:52 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Wed, 6 Mar 2002 15:52:08 +0000 (15:52 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14463 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

docs/changes.txt

index 6d1f87249081fffbc37cbc27888de22cb97e7cdf..453b0749051effc4963011a86934d98ee166620b 100644 (file)
@@ -10,6 +10,11 @@ wxBase:
   under 64 bit architectures, please replace it with RemoveAt() in your
   code.
 
   under 64 bit architectures, please replace it with RemoveAt() in your
   code.
 
+- wxArray<T> 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
 
 - 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
 
   by all derived classes, if you have user-defined event classes please
   add "wxEvent *Clone() const { return new MyEvent(*this); }" line to them
 
-- wxArray<T> 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
 All (GUI):
 
 - the event type constants are not constants any more but are dynamically