make FindInPouDialog work on Windows with wxPython 2.8
authorAndrey Skvortsov <andrej.skvortzov@gmail.com>
Thu, 29 Dec 2016 18:41:38 +0300
changeset 1620 3bffe3bd8d78
parent 1619 163d3a883575
child 1621 4485e6478b91
make FindInPouDialog work on Windows with wxPython 2.8

additional fix for changeset 474de7f
dialogs/FindInPouDialog.py
--- a/dialogs/FindInPouDialog.py	Thu Dec 29 18:36:00 2016 +0300
+++ b/dialogs/FindInPouDialog.py	Thu Dec 29 18:41:38 2016 +0300
@@ -116,6 +116,7 @@
         controls_sizer.AddWindow(self.StatusLabel, flag=wx.ALIGN_CENTER_VERTICAL)
         
         panel.SetSizer(main_sizer)
+        main_sizer.Fit(self)
         
         self.ParentWindow = parent