From cad880f57fa2754a5bd9e3407a09ebac1e77c71c Mon Sep 17 00:00:00 2001 From: Robert Roebling Date: Mon, 8 Feb 1999 16:25:52 +0000 Subject: [PATCH] Keep up the good work, people... git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1646 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/gtk/tooltip.cpp | 4 +++- src/gtk/window.cpp | 2 ++ src/gtk1/tooltip.cpp | 4 +++- src/gtk1/window.cpp | 2 ++ 4 files changed, 10 insertions(+), 2 deletions(-) diff --git a/src/gtk/tooltip.cpp b/src/gtk/tooltip.cpp index cd0a8670e3..bbe7fa2fbb 100644 --- a/src/gtk/tooltip.cpp +++ b/src/gtk/tooltip.cpp @@ -11,7 +11,9 @@ #pragma implementation "tooltip.h" #endif -#ifdef wxUSE_TOOLTIPS +#include "wx/defs.h" + +#if wxUSE_TOOLTIPS #include "wx/window.h" #include "wx/tooltip.h" diff --git a/src/gtk/window.cpp b/src/gtk/window.cpp index 32f42e8f77..7f2da39fec 100644 --- a/src/gtk/window.cpp +++ b/src/gtk/window.cpp @@ -24,7 +24,9 @@ #if wxUSE_DRAG_AND_DROP #include "wx/dnd.h" #endif +#if wxUSE_TOOLTIPS #include "wx/tooltip.h" +#endif #include "wx/menu.h" #include "wx/statusbr.h" #include "wx/intl.h" diff --git a/src/gtk1/tooltip.cpp b/src/gtk1/tooltip.cpp index cd0a8670e3..bbe7fa2fbb 100644 --- a/src/gtk1/tooltip.cpp +++ b/src/gtk1/tooltip.cpp @@ -11,7 +11,9 @@ #pragma implementation "tooltip.h" #endif -#ifdef wxUSE_TOOLTIPS +#include "wx/defs.h" + +#if wxUSE_TOOLTIPS #include "wx/window.h" #include "wx/tooltip.h" diff --git a/src/gtk1/window.cpp b/src/gtk1/window.cpp index 32f42e8f77..7f2da39fec 100644 --- a/src/gtk1/window.cpp +++ b/src/gtk1/window.cpp @@ -24,7 +24,9 @@ #if wxUSE_DRAG_AND_DROP #include "wx/dnd.h" #endif +#if wxUSE_TOOLTIPS #include "wx/tooltip.h" +#endif #include "wx/menu.h" #include "wx/statusbr.h" #include "wx/intl.h" -- 2.45.2