From 71641535db8a8bdaac70b4083ada96948f179531 Mon Sep 17 00:00:00 2001 From: Aleksey Lobanov Date: Fri, 19 Jun 2015 19:04:56 +0300 Subject: [PATCH] Addet hack than removes ugly frame background under Windows --- wxCrossGen/wxgui.hpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/wxCrossGen/wxgui.hpp b/wxCrossGen/wxgui.hpp index cd85639..fb5eb00 100644 --- a/wxCrossGen/wxgui.hpp +++ b/wxCrossGen/wxgui.hpp @@ -34,6 +34,10 @@ public: void procDict(wxString path); MainFrame( wxWindow* parent): VMainFrame(parent) { + // Hack for better background + #ifdef __WINDOWS__ + SetBackgroundColour(wxSystemSettings::GetColour(wxSYS_COLOUR_BTNFACE)); + #endif _isDictLoaded = false; srand(time(NULL)); }