1
0
mirror of https://github.com/rzzzwilson/pymlac.git synced 2025-06-10 09:32:41 +00:00

Removed old code

This commit is contained in:
Ross Wilson 2015-06-15 10:28:15 +07:00
parent e66974fcc6
commit e2ed3ad4c5

View File

@ -63,25 +63,10 @@ class TestFrame(wx.Frame):
if not self.lock:
self.lock = True
(w, h) = event.GetSize()
log('####: w=%d, h=%d' % (w, h))
size = min(w, h)
self.SetSize((size-WindowTitleHeight, size))
self.lock = False
# if deltaw is None:
#
# (fwidth, fheight) = self.GetSize()
# log('####: fwidth=%d, fheight=%d' % (fwidth, fheight))
# fheight -= WindowTitleHeight
# fsize = min(fwidth, fheight)
# self.SetSize((fsize, fsize))
#
# (pwidth, pheight) = self.display.GetClientSizeTuple()
# pheight = fheight - WindowTitleHeight
# log('####: pwidth=%d, pheight=%d' % (pwidth, pheight))
#
# self.SetSize((pwidth, pheight))
event.Skip()
################################################################################