SOURCES: wxWidgets-pickerbase.patch (NEW) - fix compile

jareq jareq at pld-linux.org
Sun Jan 14 18:25:48 CET 2007


Author: jareq                        Date: Sun Jan 14 17:25:47 2007 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- fix compile

---- Files affected:
SOURCES:
   wxWidgets-pickerbase.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/wxWidgets-pickerbase.patch
diff -u /dev/null SOURCES/wxWidgets-pickerbase.patch:1.1
--- /dev/null	Sun Jan 14 18:25:47 2007
+++ SOURCES/wxWidgets-pickerbase.patch	Sun Jan 14 18:25:42 2007
@@ -0,0 +1,23 @@
+diff -uNr wxWidgets-2.8.1.orig/src/common/pickerbase.cpp wxWidgets-2.8.1/src/common/pickerbase.cpp
+--- wxWidgets-2.8.1.orig/src/common/pickerbase.cpp	2007-01-08 15:16:57.000000000 +0100
++++ wxWidgets-2.8.1/src/common/pickerbase.cpp	2007-01-14 16:51:57.000000000 +0100
+@@ -124,7 +124,9 @@
+     SetMinSize( m_sizer->GetMinSize() );
+ }
+ 
+-void wxPickerBase::DoSetToolTip( wxToolTip *tip )
++#if wxUSE_TOOLTIPS
++
++void wxPickerBase::DoSetToolTip(wxToolTip *tip)
+ {
+     // don't set the tooltip on us but rather on our two child windows
+     // as otherwise it would appear only when the cursor is placed on the
+@@ -135,7 +137,7 @@
+     m_text->SetToolTip(tip ? new wxToolTip(tip->GetTip()) : NULL);
+ }
+ 
+-
++#endif // wxUSE_TOOLTIPS
+ 
+ // ----------------------------------------------------------------------------
+ // wxPickerBase - event handlers
================================================================


More information about the pld-cvs-commit mailing list