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:
parent
ef08ab5284
commit
361cef5fdb
@ -77,7 +77,7 @@ class MyBluePanelXmlHandler(wxXmlResourceHandler):
|
||||
# instance, then you can make the handle much simpler. I'll
|
||||
# show both methods below.
|
||||
|
||||
if 0:
|
||||
if 1:
|
||||
# The simple method assumes that there is no existing
|
||||
# instance. Be sure of that with an assert.
|
||||
assert self.GetInstance() is None
|
||||
|
Loading…
Reference in New Issue
Block a user