]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/listbox.cpp
wxTextFile::Eof() bug corrected (always returned FALSE before)
[wxWidgets.git] / src / gtk1 / listbox.cpp
index 9571b5e29b60eafef19f478d18b08b2ca23854e1..436ae7f1d6fbbb5591384d9d7935e11a4f517df7 100644 (file)
 #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 )