]> git.saurik.com Git - wxWidgets.git/blobdiff - src/stc/stc.cpp.in
Change the background style in the template file too.
[wxWidgets.git] / src / stc / stc.cpp.in
index ab713613a20af8188214bb26d15048551743fb3c..70f3646ae948ef18e987f68acd376057aaa2d563 100644 (file)
@@ -210,7 +210,7 @@ bool wxStyledTextCtrl::Create(wxWindow *parent,
     SetInitialSize(size);
 
     // Reduces flicker on GTK+/X11
-    SetBackgroundStyle(wxBG_STYLE_CUSTOM);
+    SetBackgroundStyle(wxBG_STYLE_PAINT);
 
     // Make sure it can take the focus
     SetCanFocus(true);