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:
parent
e66974fcc6
commit
e2ed3ad4c5
@ -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()
|
||||
|
||||
################################################################################
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user