Commit 4cadd72c authored by Guillaume Seguin's avatar Guillaume Seguin

Specify size in Frame init even though we will override it #520

parent 82da744c
......@@ -168,7 +168,8 @@ class PronterWindow(MainWindow, pronsole.pronsole):
style = wx.DEFAULT_FRAME_STYLE
if self.settings.last_window_maximized:
style |= wx.MAXIMIZE
MainWindow.__init__(self, None, title = _("Pronterface"), style = style)
MainWindow.__init__(self, None, title = _("Pronterface"),
size = size, style = style)
self.SetClientSize(size)
self.SetIcon(wx.Icon(iconfile("pronterface.png"), wx.BITMAP_TYPE_PNG))
self.Bind(wx.EVT_SIZE, self.on_resize)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment