From 2b7e44a28ce3e7b1775a0be874fcd423c8871645 Mon Sep 17 00:00:00 2001
From: Vadim Zeitlin <vadim@wxwidgets.org>
Date: Sat, 1 Dec 2001 03:28:04 +0000
Subject: [PATCH] added wxUSE_TIPWINDOW

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12789 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
---
 include/wx/mac/setup0.h | 13 +++++++++++--
 include/wx/os2/setup0.h |  1 +
 include/wx/univ/setup.h |  2 ++
 3 files changed, 14 insertions(+), 2 deletions(-)

diff --git a/include/wx/mac/setup0.h b/include/wx/mac/setup0.h
index d171f1c6a9..94c4d765c0 100644
--- a/include/wx/mac/setup0.h
+++ b/include/wx/mac/setup0.h
@@ -396,13 +396,22 @@
 // Recommended setting: 1 (don't change except for very special programs)
 #define wxUSE_CONTROLS     1
 
-// wxPopupWindow class is not used currently by wxMSW
+// wxPopupWindow class is a top level transient window. It is currently used
+// to implement wxTipWindow but doesn't work yet under Mac.
 //
-// Default is 0
+// Default is  0
 //
 // Recommended setting: 0
 #define wxUSE_POPUPWIN     0
 
+// wxTipWindow allows to implement the custom tooltips, it is used by the
+// context help classes. Requires wxUSE_POPUPWIN.
+//
+// Default is 0
+//
+// Recommended setting: 0
+#define wxUSE_TIPWINDOW    0
+
 // Each of the settings below corresponds to one wxWindows control. They are
 // all switched on by default but may be disabled if you are sure that your
 // program (including any standard dialogs it can show!) doesn't need them and
diff --git a/include/wx/os2/setup0.h b/include/wx/os2/setup0.h
index 770a667aaa..ac026638bc 100644
--- a/include/wx/os2/setup0.h
+++ b/include/wx/os2/setup0.h
@@ -78,6 +78,7 @@
 
 #define wxUSE_CONTROLS     1    // Do not change
 #define wxUSE_POPUPWIN     0    // OS/2 does not use this
+#define wxUSE_TIPWINDOW    0    // hence this is unavailable
 
 // Recommended setting: 1
 #define wxUSE_BUTTON       1    // wxButton
diff --git a/include/wx/univ/setup.h b/include/wx/univ/setup.h
index 8d42edaf18..bc36b30ed5 100644
--- a/include/wx/univ/setup.h
+++ b/include/wx/univ/setup.h
@@ -76,6 +76,7 @@
 
 #define wxUSE_CONTROLS     1
 #define wxUSE_POPUPWIN     1
+#define wxUSE_TIPWINDOW    1
 #define wxUSE_BUTTON       1
 #define wxUSE_BMPBUTTON    1
 #define wxUSE_CALENDARCTRL 0
@@ -229,6 +230,7 @@
 
 #define wxUSE_CONTROLS     1
 #define wxUSE_POPUPWIN     1
+#define wxUSE_TIPWINDOW    1
 #define wxUSE_BUTTON       1
 #define wxUSE_BMPBUTTON    1
 #define wxUSE_CALENDARCTRL 0
-- 
2.45.2