]> git.saurik.com Git - wxWidgets.git/commitdiff
Change back to the simple method by default
authorRobin Dunn <robin@alldunn.com>
Sat, 24 Aug 2002 02:44:30 +0000 (02:44 +0000)
committerRobin Dunn <robin@alldunn.com>
Sat, 24 Aug 2002 02:44:30 +0000 (02:44 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16725 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

wxPython/demo/wxXmlResourceHandler.py

index 8091c8ba102360285aabdf93dd426b32340817ca..82acf0b73429d39077063da6ee6d63dc86817d68 100644 (file)
@@ -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