oops, forgot to remove temporary debug printf...

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10028 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík 2001-05-06 22:22:47 +00:00
parent 239229258a
commit e7d5dd022c

View File

@ -105,8 +105,9 @@ END_EVENT_TABLE()
wxEditableListBox::wxEditableListBox(wxWindow *parent, wxWindowID id,
const wxString& label,
const wxPoint& pos, const wxSize& size)
: wxPanel(parent, id, pos, size), m_edittingNew(FALSE)
const wxPoint& pos, const wxSize& size,
const wxString& name)
: wxPanel(parent, id, pos, size, wxTAB_TRAVERSAL, name), m_edittingNew(FALSE)
{
wxSizer *sizer = new wxBoxSizer(wxVERTICAL);
@ -186,10 +187,7 @@ void wxEditableListBox::OnEndLabelEdit(wxListEvent& event)
{
m_edittingNew = FALSE;
if (!event.GetText().IsEmpty())
{
printf("X-\n");
m_listCtrl->InsertItem(m_listCtrl->GetItemCount(), _T(""));
}
}
}