X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7e0c58e92cb173bb192444670535f49583a6bf1d..f6753003f1851b52c7778e2a12a747d6265f47d9:/src/stc/stc.cpp.in?ds=sidebyside diff --git a/src/stc/stc.cpp.in b/src/stc/stc.cpp.in index 73a311bf8b..b5d7218135 100644 --- a/src/stc/stc.cpp.in +++ b/src/stc/stc.cpp.in @@ -197,6 +197,10 @@ bool wxStyledTextCtrl::Create(wxWindow *parent, // Reduces flicker on GTK+/X11 SetBackgroundStyle(wxBG_STYLE_CUSTOM); + + // Make sure it can take the focus + SetCanFocus(true); + return true; }