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:
@@ -53,7 +53,6 @@ class MyCustomPanel(wx.Panel):
|
|||||||
if hasattr(self, 't'):
|
if hasattr(self, 't'):
|
||||||
sz = self.GetSize()
|
sz = self.GetSize()
|
||||||
w, h = self.t.GetTextExtent(self.t.GetLabel())
|
w, h = self.t.GetTextExtent(self.t.GetLabel())
|
||||||
print w, h
|
|
||||||
self.t.SetPosition(((sz.width-w)/2, (sz.height-h)/2))
|
self.t.SetPosition(((sz.width-w)/2, (sz.height-h)/2))
|
||||||
|
|
||||||
#----------------------------------------------------------------------
|
#----------------------------------------------------------------------
|
||||||
|
Reference in New Issue
Block a user