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:
@@ -105,8 +105,9 @@ END_EVENT_TABLE()
|
|||||||
|
|
||||||
wxEditableListBox::wxEditableListBox(wxWindow *parent, wxWindowID id,
|
wxEditableListBox::wxEditableListBox(wxWindow *parent, wxWindowID id,
|
||||||
const wxString& label,
|
const wxString& label,
|
||||||
const wxPoint& pos, const wxSize& size)
|
const wxPoint& pos, const wxSize& size,
|
||||||
: wxPanel(parent, id, pos, size), m_edittingNew(FALSE)
|
const wxString& name)
|
||||||
|
: wxPanel(parent, id, pos, size, wxTAB_TRAVERSAL, name), m_edittingNew(FALSE)
|
||||||
{
|
{
|
||||||
wxSizer *sizer = new wxBoxSizer(wxVERTICAL);
|
wxSizer *sizer = new wxBoxSizer(wxVERTICAL);
|
||||||
|
|
||||||
@@ -186,11 +187,8 @@ void wxEditableListBox::OnEndLabelEdit(wxListEvent& event)
|
|||||||
{
|
{
|
||||||
m_edittingNew = FALSE;
|
m_edittingNew = FALSE;
|
||||||
if (!event.GetText().IsEmpty())
|
if (!event.GetText().IsEmpty())
|
||||||
{
|
|
||||||
printf("X-\n");
|
|
||||||
m_listCtrl->InsertItem(m_listCtrl->GetItemCount(), _T(""));
|
m_listCtrl->InsertItem(m_listCtrl->GetItemCount(), _T(""));
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void wxEditableListBox::OnDelItem(wxCommandEvent& event)
|
void wxEditableListBox::OnDelItem(wxCommandEvent& event)
|
||||||
|
Reference in New Issue
Block a user