Use SetCanFocus

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52866 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2008-03-27 21:23:56 +00:00
parent 24f5cd42b7
commit 5e328f3879
2 changed files with 4 additions and 6 deletions

View File

@@ -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;
}

View File

@@ -39,12 +39,6 @@ class WXDLLIMPEXP_FWD_CORE wxScrollBar;
#endif
#endif
//----------------------------------------------------------------------
// Should a wxPopupWindow be used for the call tips and autocomplete windows?
#ifndef wxSTC_USE_POPUP
#define wxSTC_USE_POPUP 1
#endif
//----------------------------------------------------------------------
// BEGIN generated section. The following code is automatically generated