From 6cecceddd8700272b1718da266fcc8d7b3ba829b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=A1clav=20Slav=C3=ADk?= Date: Sat, 9 Feb 2002 23:29:36 +0000 Subject: [PATCH] compilation fix for wxUSE_TOOLTIPS=0 (i.e. wxUniv) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14096 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- contrib/src/gizmos/editlbox.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/contrib/src/gizmos/editlbox.cpp b/contrib/src/gizmos/editlbox.cpp index 543a0c13c8..4617028570 100644 --- a/contrib/src/gizmos/editlbox.cpp +++ b/contrib/src/gizmos/editlbox.cpp @@ -122,11 +122,13 @@ wxEditableListBox::wxEditableListBox(wxWindow *parent, wxWindowID id, m_bUp = new wxBitmapButton(subp, wxID_ELB_UP, wxBitmap(elup_xpm)); m_bDown = new wxBitmapButton(subp, wxID_ELB_DOWN, wxBitmap(eldown_xpm)); +#if wxUSE_TOOLTIPS 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")); +#endif subsizer->Add(m_bEdit, 0, wxALIGN_CENTRE_VERTICAL); subsizer->Add(m_bNew, 0, wxALIGN_CENTRE_VERTICAL);