From: Robin Dunn Date: Sat, 24 Aug 2002 02:44:30 +0000 (+0000) Subject: Change back to the simple method by default X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/361cef5fdbfb0f39bdeadb9a90850151fa8c0ced 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 --- diff --git a/wxPython/demo/wxXmlResourceHandler.py b/wxPython/demo/wxXmlResourceHandler.py index 8091c8ba10..82acf0b734 100644 --- a/wxPython/demo/wxXmlResourceHandler.py +++ b/wxPython/demo/wxXmlResourceHandler.py @@ -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