removed a debugging print
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27139 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
dd6d1477e5
commit
2abd8d78a6
@ -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))
|
||||
|
||||
#----------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user