]> git.pld-linux.org Git - packages/wxWidgets.git/blob - wxWidgets-pickerbase.patch
- converted to UTF-8
[packages/wxWidgets.git] / wxWidgets-pickerbase.patch
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
4 @@ -124,7 +124,9 @@
5      SetMinSize( m_sizer->GetMinSize() );
6  }
7  
8 -void wxPickerBase::DoSetToolTip( wxToolTip *tip )
9 +#if wxUSE_TOOLTIPS
10 +
11 +void wxPickerBase::DoSetToolTip(wxToolTip *tip)
12  {
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
15 @@ -135,7 +137,7 @@
16      m_text->SetToolTip(tip ? new wxToolTip(tip->GetTip()) : NULL);
17  }
18  
19 -
20 +#endif // wxUSE_TOOLTIPS
21  
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
26 @@ -52,7 +52,9 @@
27                      const wxValidator& validator = wxDefaultValidator,
28                      const wxString& name = wxButtonNameStr);
29  
30 +#if wxUSE_TOOLTIPS
31      virtual void DoSetToolTip( wxToolTip *tip );
32 +#endif // wxUSE_TOOLTIPS
33  
34  public:     // public API
35  
This page took 0.283846 seconds and 3 git commands to generate.