From e2ed3ad4c5642c12e272ae0759360670dcbc50cb Mon Sep 17 00:00:00 2001 From: Ross Wilson Date: Mon, 15 Jun 2015 10:28:15 +0700 Subject: [PATCH] Removed old code --- pymlac/test_pymlac_display.py | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/pymlac/test_pymlac_display.py b/pymlac/test_pymlac_display.py index c1fa28d..708b50c 100755 --- a/pymlac/test_pymlac_display.py +++ b/pymlac/test_pymlac_display.py @@ -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() ################################################################################