Use the wxWANTS_CHARS style

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45410 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn 2007-04-12 00:23:41 +00:00
parent 8dda1e5b25
commit 9c8d71beb8

View File

@ -1860,7 +1860,7 @@ bool wxTreeListMainWindow::Create (wxTreeListCtrl *parent,
if (major < 10) style |= wxTR_ROW_LINES;
#endif
wxScrolledWindow::Create (parent, id, pos, size, style|wxHSCROLL|wxVSCROLL, name);
wxScrolledWindow::Create (parent, id, pos, size, style|wxHSCROLL|wxVSCROLL|wxWANTS_CHARS, name);
#if wxUSE_VALIDATORS
SetValidator(validator);