From 5fef07a5523a4aecd06b7c3c71bc7bf7144c5b7e Mon Sep 17 00:00:00 2001 From: blitzmann Date: Sat, 13 Sep 2014 00:14:30 -0400 Subject: [PATCH] Fix background color for empty fitting view on Linux (and osx?) --- gui/builtinViews/emptyView.py | 1 + 1 file changed, 1 insertion(+) diff --git a/gui/builtinViews/emptyView.py b/gui/builtinViews/emptyView.py index cfe26bb90..2ea3dbeb1 100644 --- a/gui/builtinViews/emptyView.py +++ b/gui/builtinViews/emptyView.py @@ -12,6 +12,7 @@ class BlankPage(wx.Panel): self.parent = parent self.parent.Bind(gui.chromeTabs.EVT_NOTEBOOK_PAGE_CHANGED, self.pageChanged) + self.SetBackgroundColour(wx.SystemSettings_GetColour(wx.SYS_COLOUR_WINDOW)) wx.PostEvent(self.mainFrame, GE.FitChanged(fitID=None))