1 diff -uNr wxWidgets-2.8.1.orig/src/common/pickerbase.cpp wxWidgets-2.8.1/src/common/pickerbase.cpp
2 --- wxWidgets-2.8.1.orig/src/common/pickerbase.cpp 2007-01-08 15:16:57.000000000 +0100
3 +++ wxWidgets-2.8.1/src/common/pickerbase.cpp 2007-01-14 16:51:57.000000000 +0100
5 SetMinSize( m_sizer->GetMinSize() );
8 -void wxPickerBase::DoSetToolTip( wxToolTip *tip )
11 +void wxPickerBase::DoSetToolTip(wxToolTip *tip)
13 // don't set the tooltip on us but rather on our two child windows
14 // as otherwise it would appear only when the cursor is placed on the
16 m_text->SetToolTip(tip ? new wxToolTip(tip->GetTip()) : NULL);
20 +#endif // wxUSE_TOOLTIPS
22 // ----------------------------------------------------------------------------
23 // wxPickerBase - event handlers
24 --- wxWidgets-2.8.1/include/wx/pickerbase.h.orig 2007-01-08 15:16:53.000000000 +0100
25 +++ wxWidgets-2.8.1/include/wx/pickerbase.h 2007-02-05 22:16:23.439094447 +0100
27 const wxValidator& validator = wxDefaultValidator,
28 const wxString& name = wxButtonNameStr);
31 virtual void DoSetToolTip( wxToolTip *tip );
32 +#endif // wxUSE_TOOLTIPS