Addet hack than removes ugly frame background under Windows

This commit is contained in:
2015-06-19 19:04:56 +03:00
parent 046d5a3a7c
commit 71641535db

View File

@@ -34,6 +34,10 @@ public:
void procDict(wxString path); void procDict(wxString path);
MainFrame( wxWindow* parent): VMainFrame(parent) { MainFrame( wxWindow* parent): VMainFrame(parent) {
// Hack for better background
#ifdef __WINDOWS__
SetBackgroundColour(wxSystemSettings::GetColour(wxSYS_COLOUR_BTNFACE));
#endif
_isDictLoaded = false; _isDictLoaded = false;
srand(time(NULL)); srand(time(NULL));
} }