mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2025-12-16 01:30:07 +01:00
pywxrc: remove old comments
It's not using the 2 stages creation anymore.
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user