Fix for the TAB in the autocomplete list not being used correctly

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15851 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2002-06-15 06:41:27 +00:00
parent 6f48b1b53f
commit b89f0cb06a
2 changed files with 2 additions and 2 deletions

View File

@@ -681,7 +681,7 @@ class wxSTCListBox : public wxListBox {
public:
wxSTCListBox(wxWindow* parent, wxWindowID id)
: wxListBox(parent, id, wxDefaultPosition, wxDefaultSize,
0, NULL, wxLB_SINGLE | wxSIMPLE_BORDER)
0, NULL, wxLB_SINGLE | wxSIMPLE_BORDER | wxWANTS_CHARS)
{}
void OnKeyDown(wxKeyEvent& event) {

View File

@@ -681,7 +681,7 @@ class wxSTCListBox : public wxListBox {
public:
wxSTCListBox(wxWindow* parent, wxWindowID id)
: wxListBox(parent, id, wxDefaultPosition, wxDefaultSize,
0, NULL, wxLB_SINGLE | wxSIMPLE_BORDER)
0, NULL, wxLB_SINGLE | wxSIMPLE_BORDER | wxWANTS_CHARS)
{}
void OnKeyDown(wxKeyEvent& event) {