diff --git a/pythoncode/FortiusAntGui.py b/pythoncode/FortiusAntGui.py index 77b227d5..94d0df8a 100644 --- a/pythoncode/FortiusAntGui.py +++ b/pythoncode/FortiusAntGui.py @@ -1,8 +1,8 @@ #------------------------------------------------------------------------------- # Version info #------------------------------------------------------------------------------- -__version__ = "2024-02-13" -# 2024-02-13 wx.DEFAULT_FRAME_STYLE replaced by wx.CLOSE_BOX on overlay frame +__version__ = "2024-02-17" +# 2024-02-17 wx.DEFAULT_FRAME_STYLE replaced by wx.CLOSE_BOX on overlay frame # 2024-01-31 Smoother power was reset when powermeter resized # 2024-01-24 #456 Addition of an overlay window with gearing info # Target grade is displayed with one decimal @@ -1607,7 +1607,7 @@ def __init__(self, parent, pCranckset, pCassette, pTextCtrlFont): frameX = 2 * Margin + pCranckset.Size[0] + 15 frameY = 3 * Margin + 2 * pCranckset.Size[1] + 39 - style = wx.STAY_ON_TOP | wx.FRAME_TOOL_WINDOW | wx.CAPTION | wx.CLOSE_BOX # old: wx.DEFAULT_FRAME_STYLE + style = wx.STAY_ON_TOP | wx.FRAME_TOOL_WINDOW | wx.CAPTION | wx.CLOSE_BOX wx.Frame.__init__(self, None, title='Gearbox', size = (frameX,frameY), style = style) self.Bind(wx.EVT_CLOSE, self.OnClose)