diff --git a/wxPython/demo/XmlResourceSubclass.py b/wxPython/demo/XmlResourceSubclass.py index 6e975e538f..4cda2a451a 100644 --- a/wxPython/demo/XmlResourceSubclass.py +++ b/wxPython/demo/XmlResourceSubclass.py @@ -53,7 +53,6 @@ class MyCustomPanel(wx.Panel): if hasattr(self, 't'): sz = self.GetSize() w, h = self.t.GetTextExtent(self.t.GetLabel()) - print w, h self.t.SetPosition(((sz.width-w)/2, (sz.height-h)/2)) #----------------------------------------------------------------------