X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/68bc8549d81adc1b6f031bdbb03b91a71944197c..32b70aec1ff90877ae0ce2ce82967f698218fbdc:/wxPython/CHANGES.txt diff --git a/wxPython/CHANGES.txt b/wxPython/CHANGES.txt index 99aa9001cb..24dcc93bb7 100644 --- a/wxPython/CHANGES.txt +++ b/wxPython/CHANGES.txt @@ -75,6 +75,14 @@ Added wxIconBundle and wxTopLevelWindow.SetIcons. Added wxLocale and wxEncodingConverter. +A little black magic... When the C++ object (for a window or +whatever) is deleted there is no way to force the Python shadow object +to also be destroyed and clean up all references to it. This leads to +crashes if the shadow object tries to call a method with the old C++ +pointer. The black magic I've done is to replace the __class__ in the +Python instance object with a class that raises an exception whenever +a method call (or other attribute access) is attempted. This works +for any class that is OOR aware.