X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ff8bfdbbb14af4cd77de9d3534b1cd4f7a033137..d79b79b5e8f35e92fbbf0d74c3514dc37642e5aa:/src/gtk1/listbox.cpp diff --git a/src/gtk1/listbox.cpp b/src/gtk1/listbox.cpp index 9571b5e29b..436ae7f1d6 100644 --- a/src/gtk1/listbox.cpp +++ b/src/gtk1/listbox.cpp @@ -17,7 +17,10 @@ #include "wx/utils.h" #include "wx/intl.h" #include "wx/checklst.h" + +#if wxUSE_TOOLTIPS #include "wx/tooltip.h" +#endif #if wxUSE_DRAG_AND_DROP #include "wx/dnd.h" @@ -347,7 +350,9 @@ void wxListBox::AppendCommon( const wxString &item ) #endif #endif +#if wxUSE_TOOLTIPS if (m_toolTip) m_toolTip->Apply( this ); +#endif } void wxListBox::Append( const wxString &item )