renamed wx.PyAssertionError

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69923 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2011-12-03 01:00:44 +00:00
parent 82c372cdce
commit 3ab334932e
7 changed files with 30 additions and 35 deletions

View File

@@ -176,8 +176,8 @@ that is using the old names to use the new ones instead::
wx.PyDeadObjectError
---------------------
wx.PyDeadObjectError --> RuntimeError
-------------------------------------
Classic wxPython tracks when the C++ part of some types of objects (pretty
much just window types) is destroyed and then replaces the proxy object's
@@ -191,4 +191,15 @@ conditional statement to see if it is safe to use, like this::
if someWindow:
doSomething()
wx.PyAssertionError --> wx.wxAssertionError
-------------------------------------------
This is the exception raised when one of the wxASSERT (or similar) statements
in the wx C++ code fails. Since it is a wxWidgets assertion and not a
wxPython assertion the name was changed to make that a little more clear. A
compatibility alias exists so using wx.PyAssertionError will still work, but
you should migrate those uses to wx.wxAssertionError if possible.