]> git.saurik.com Git - wxWidgets.git/commitdiff
removed the note about wxEvent::Clone() startup test as it was removed
authorVadim Zeitlin <vadim@wxwidgets.org>
Wed, 15 Apr 2009 21:14:25 +0000 (21:14 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Wed, 15 Apr 2009 21:14:25 +0000 (21:14 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60181 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

docs/changes.txt

index b3ced8fea4d69399fbf3f6dcaa1cd77c7794780c..72872f58b0ac648d7f4ed7add91378aff4c989af 100644 (file)
@@ -226,11 +226,6 @@ Changes in behaviour which may result in compilation errors
 - wxEVT_GRID_CELL_CHANGE event renamed to wxEVT_GRID_CELL_CHANGED and shouldn't
   be vetoed any more, use the new wxEVT_GRID_CELL_CHANGING event to do it.
 
-- Now wxWidgets at startup in debug builds checks if all wxEvent-derived classes
-  correctly implement the Clone() function, logging a warning if they don't.
-  A correct implementation for MyCustomEventClass::Clone() is simply:
-    virtual wxEvent *Clone() const  { return new MyCustomEventClass(*this); }
-
 - Global wxPendingEvents and wxPendingEventsLocker objects were removed.
   You may use wxEventLoopBase::SuspendProcessingOfPendingEvents instead of
   locking wxPendingEventsLocker now.