Change the background style in the template file too.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70718 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2012-02-27 23:50:39 +00:00
parent b0272c6014
commit c69612defc

View File

@@ -210,7 +210,7 @@ bool wxStyledTextCtrl::Create(wxWindow *parent,
SetInitialSize(size); SetInitialSize(size);
// Reduces flicker on GTK+/X11 // Reduces flicker on GTK+/X11
SetBackgroundStyle(wxBG_STYLE_CUSTOM); SetBackgroundStyle(wxBG_STYLE_PAINT);
// Make sure it can take the focus // Make sure it can take the focus
SetCanFocus(true); SetCanFocus(true);