Added tooltips to the buttons in the wxEditableListBox

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12738 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2001-11-28 09:17:44 +00:00
parent d7d0296285
commit 96d24601af

View File

@@ -121,6 +121,13 @@ wxEditableListBox::wxEditableListBox(wxWindow *parent, wxWindowID id,
m_bDel = new wxBitmapButton(subp, wxID_ELB_DELETE, wxBitmap(eldel_xpm)); m_bDel = new wxBitmapButton(subp, wxID_ELB_DELETE, wxBitmap(eldel_xpm));
m_bUp = new wxBitmapButton(subp, wxID_ELB_UP, wxBitmap(elup_xpm)); m_bUp = new wxBitmapButton(subp, wxID_ELB_UP, wxBitmap(elup_xpm));
m_bDown = new wxBitmapButton(subp, wxID_ELB_DOWN, wxBitmap(eldown_xpm)); m_bDown = new wxBitmapButton(subp, wxID_ELB_DOWN, wxBitmap(eldown_xpm));
m_bEdit->SetToolTip(wxT("Edit item"));
m_bNew->SetToolTip(wxT("New item"));
m_bDel->SetToolTip(wxT("Delete item"));
m_bUp->SetToolTip(wxT("Move up"));
m_bDown->SetToolTip(wxT("Move down"));
subsizer->Add(m_bEdit, 0, wxALIGN_CENTRE_VERTICAL); subsizer->Add(m_bEdit, 0, wxALIGN_CENTRE_VERTICAL);
subsizer->Add(m_bNew, 0, wxALIGN_CENTRE_VERTICAL); subsizer->Add(m_bNew, 0, wxALIGN_CENTRE_VERTICAL);
subsizer->Add(m_bDel, 0, wxALIGN_CENTRE_VERTICAL); subsizer->Add(m_bDel, 0, wxALIGN_CENTRE_VERTICAL);