diff --git a/contrib/src/stc/stc.cpp b/contrib/src/stc/stc.cpp index ec1f9949d0..248ceb73e5 100644 --- a/contrib/src/stc/stc.cpp +++ b/contrib/src/stc/stc.cpp @@ -178,6 +178,8 @@ void wxStyledTextCtrl::Create(wxWindow *parent, SetCodePage(wxSTC_CP_UTF8); #endif + // Reduces flicker on GTK+/X11 + SetBackgroundStyle(wxBG_STYLE_CUSTOM); SetBestFittingSize(size); } diff --git a/src/stc/stc.cpp b/src/stc/stc.cpp index ec1f9949d0..248ceb73e5 100644 --- a/src/stc/stc.cpp +++ b/src/stc/stc.cpp @@ -178,6 +178,8 @@ void wxStyledTextCtrl::Create(wxWindow *parent, SetCodePage(wxSTC_CP_UTF8); #endif + // Reduces flicker on GTK+/X11 + SetBackgroundStyle(wxBG_STYLE_CUSTOM); SetBestFittingSize(size); }