X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7e0c58e92cb173bb192444670535f49583a6bf1d..89edb75e59ec9793aa75e9bac2ff4f7f10748f77:/src/stc/stc.cpp diff --git a/src/stc/stc.cpp b/src/stc/stc.cpp index 6230d02ca5..634b988471 100644 --- a/src/stc/stc.cpp +++ b/src/stc/stc.cpp @@ -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; }