Change back to the simple method by default
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16725 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -77,7 +77,7 @@ class MyBluePanelXmlHandler(wxXmlResourceHandler):
|
|||||||
# instance, then you can make the handle much simpler. I'll
|
# instance, then you can make the handle much simpler. I'll
|
||||||
# show both methods below.
|
# show both methods below.
|
||||||
|
|
||||||
if 0:
|
if 1:
|
||||||
# The simple method assumes that there is no existing
|
# The simple method assumes that there is no existing
|
||||||
# instance. Be sure of that with an assert.
|
# instance. Be sure of that with an assert.
|
||||||
assert self.GetInstance() is None
|
assert self.GetInstance() is None
|
||||||
|
Reference in New Issue
Block a user