From: Karsten Ballüder Date: Mon, 8 Feb 1999 10:54:05 +0000 (+0000) Subject: compilation fixes X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/f7f1f70f4b123468e916b3f3cf4e0d35aa62da03?hp=1f916a19f14ce4f8d172f81344dd2b978dd29340 compilation fixes PLEASE CHECK valgen.cpp: I had to insert a #include to make it compile. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1642 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/common/valgen.cpp b/src/common/valgen.cpp index d90f90f6f0..76666bcdb1 100644 --- a/src/common/valgen.cpp +++ b/src/common/valgen.cpp @@ -23,6 +23,7 @@ #ifndef WX_PRECOMP #include "wx/utils.h" #include "wx/intl.h" +#include "wx/wx.h" #endif #include "wx/spinbutt.h" diff --git a/src/gtk/tooltip.cpp b/src/gtk/tooltip.cpp index dde56c65ee..cd0a8670e3 100644 --- a/src/gtk/tooltip.cpp +++ b/src/gtk/tooltip.cpp @@ -11,6 +11,8 @@ #pragma implementation "tooltip.h" #endif +#ifdef wxUSE_TOOLTIPS + #include "wx/window.h" #include "wx/tooltip.h" @@ -86,4 +88,5 @@ void wxToolTip::SetDelay( long msecs ) gtk_tooltips_set_delay( ss_tooltips, msecs ); } +#endif diff --git a/src/gtk1/tooltip.cpp b/src/gtk1/tooltip.cpp index dde56c65ee..cd0a8670e3 100644 --- a/src/gtk1/tooltip.cpp +++ b/src/gtk1/tooltip.cpp @@ -11,6 +11,8 @@ #pragma implementation "tooltip.h" #endif +#ifdef wxUSE_TOOLTIPS + #include "wx/window.h" #include "wx/tooltip.h" @@ -86,4 +88,5 @@ void wxToolTip::SetDelay( long msecs ) gtk_tooltips_set_delay( ss_tooltips, msecs ); } +#endif