Allow the OOR reference to be saved without doing an INCREF. This

solves the circular reference problem with wx.Timer.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31095 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2004-12-20 22:50:29 +00:00
parent 56a52e9094
commit 94fd5e4dc1
6 changed files with 65 additions and 28 deletions

View File

@@ -87,6 +87,22 @@ maintainable and hopefully less buggy. The position of the labels has
also been changed in order to better comply with Microsoft's examples
of how to use the control.
wxMSW: Fix wx.TreeCtrl to end label editing if the control loses
focus (a slightly modified patch 1084592.)
Added wx.EXEC_NODISABLE flag for wx.Execute, which will prevent all
the app's windows being disabled while a synchronous child process is
running.
wxMSW: Much work to correct painting (or leaving transparent) of
control backgrounds, properly using background themes on XP, etc.
Fixed a circular reference problem with wx.Timer. It will now
completely cleanup after itself when the last reference to the timer
is removed. If you were previously using timer.Destroy() to cleanup
your timers it will no longer work. Instead you should hold a
reference to the timer and then del the reference when you are
finished with the timer.