From: Vadim Zeitlin <vadim@wxwidgets.org>
Date: Wed, 21 Nov 2001 21:46:20 +0000 (+0000)
Subject: mention wxObject and wxEvent API changes
X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/19924e90e56f2769f97c62ee255da583a709ab37

mention wxObject and wxEvent API changes


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12567 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
---

diff --git a/docs/changes.txt b/docs/changes.txt
index 1171ba8284..7cbc5c08dc 100644
--- a/docs/changes.txt
+++ b/docs/changes.txt
@@ -10,6 +10,13 @@ wxBase:
   under 64 bit architectures, please replace it with RemoveAt() in your
   code.
 
+- wxObject::CopyObject() and Clone() methods were removed because they
+  simply don't make sense for all objects
+
+- wxEvent now has a pure virtual Clone() method which must be implemented
+  by all derived classes, if you have user-defined event classes please
+  add "wxEvent *Clone() const { return new MyEvent(*this); }" line to them
+
 All (GUI):
 
 - wxGLCanvas now derives directly from wxWindow, not wxScrolledWindow