From 10e2b4c4b3633583096a711129acae5115f2c3cf Mon Sep 17 00:00:00 2001 From: HomeWorld Date: Thu, 21 Jul 2011 15:14:05 +0300 Subject: [PATCH] Minor fix for nav panel search ctrl (wxgtk side) --- gui/shipBrowser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gui/shipBrowser.py b/gui/shipBrowser.py index 5c219d4da..ffdabfd38 100644 --- a/gui/shipBrowser.py +++ b/gui/shipBrowser.py @@ -349,7 +349,7 @@ class NavigationPanel(SFItem.SFBrowserItem): self.inSearch = False self.fontSmall = wx.FontFromPixelSize((0,12),wx.SWISS, wx.NORMAL, wx.NORMAL, False) - + w,h = size self.BrowserSearchBox = wx.TextCtrl(self, wx.ID_ANY, "", wx.DefaultPosition, (-1, h - 2 if 'wxGTK' in wx.PlatformInfo else -1 ), wx.TE_PROCESS_ENTER | (wx.BORDER_NONE if 'wxGTK' in wx.PlatformInfo else 0)) self.BrowserSearchBox.Show(False)