]> git.saurik.com Git - wxWidgets.git/commitdiff
Change the background style in the template file too.
authorRobin Dunn <robin@alldunn.com>
Mon, 27 Feb 2012 23:50:39 +0000 (23:50 +0000)
committerRobin Dunn <robin@alldunn.com>
Mon, 27 Feb 2012 23:50:39 +0000 (23:50 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70718 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

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);