From 984a036d34017d32069842a52aaf7ea7c07cbc9b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89ric=20Piel?= Date: Wed, 22 Aug 2018 13:50:33 +0200 Subject: [PATCH] pywxrc: remove old comments It's not using the 2 stages creation anymore. --- wx/tools/pywxrc.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/wx/tools/pywxrc.py b/wx/tools/pywxrc.py index 434ba84b..22e0a779 100644 --- a/wx/tools/pywxrc.py +++ b/wx/tools/pywxrc.py @@ -73,7 +73,6 @@ class xrc%(windowName)s(wx.%(windowClass)s): #!XRCED:end-block:xrc%(windowName)s.PreCreate def __init__(self, parent): - # Two stage creation (see http://wiki.wxpython.org/index.cgi/TwoStageCreation) wx.%(windowClass)s.__init__(self) self.PreCreate() get_resources().Load%(windowClass)s(self, parent, "%(windowName)s") @@ -84,7 +83,6 @@ class xrc%(windowName)s(wx.%(windowClass)s): SUBCLASS_HEADER = """\ class %(subclass)s(wx.%(windowClass)s): def __init__(self): - # Two stage creation (see http://wiki.wxpython.org/index.cgi/TwoStageCreation) wx.%(windowClass)s.__init__(self) self.Bind(wx.EVT_WINDOW_CREATE, self.OnCreate)