fixed compilation after wxTipWindow base class change, added wxUSE_TIPWINDOW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12786 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -493,6 +493,14 @@
|
||||
# endif
|
||||
#endif /* !defined(wxUSE_TEXTFILE) */
|
||||
|
||||
#ifndef wxUSE_TIPWINDOW
|
||||
# ifdef wxABORT_ON_CONFIG_ERROR
|
||||
# error "wxUSE_TIPWINDOW must be defined."
|
||||
# else
|
||||
# define wxUSE_TIPWINDOW 0
|
||||
# endif
|
||||
#endif /* !defined(wxUSE_TIPWINDOW) */
|
||||
|
||||
#ifndef wxUSE_TOOLBAR
|
||||
# ifdef wxABORT_ON_CONFIG_ERROR
|
||||
# error "wxUSE_TOOLBAR must be defined."
|
||||
@@ -869,5 +877,14 @@
|
||||
# endif
|
||||
#endif /* wxUSE_CLIPBOARD */
|
||||
|
||||
#if wxUSE_TIPWINDOW && !wxUSE_POPUPWIN
|
||||
# ifdef wxABORT_ON_CONFIG_ERROR
|
||||
# error "wxTipWindow requires wxPopupWindow"
|
||||
# else
|
||||
# undef wxUSE_POPUPWIN
|
||||
# define wxUSE_POPUPWIN 1
|
||||
# endif
|
||||
#endif /* wxUSE_TIPWINDOW */
|
||||
|
||||
#endif /* wxUSE_GUI */
|
||||
|
||||
|
||||
@@ -415,12 +415,21 @@
|
||||
// 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
|
||||
//
|
||||
// Default is 0
|
||||
// Default is 1
|
||||
//
|
||||
// Recommended setting: 0
|
||||
#define wxUSE_POPUPWIN 0
|
||||
// Recommended setting: 1 (may be set to 0 if you don't wxUSE_TIPWINDOW)
|
||||
#define wxUSE_POPUPWIN 1
|
||||
|
||||
// wxTipWindow allows to implement the custom tooltips, it is used by the
|
||||
// context help classes. Requires wxUSE_POPUPWIN.
|
||||
//
|
||||
// Default is 1
|
||||
//
|
||||
// Recommended setting: 1 (may be set to 0)
|
||||
#define wxUSE_TIPWINDOW 1
|
||||
|
||||
// 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
|
||||
|
||||
@@ -20,6 +20,7 @@
|
||||
#include "wx/popupwin.h"
|
||||
|
||||
#if wxUSE_POPUPWIN
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
// wxTipWindow
|
||||
// ----------------------------------------------------------------------------
|
||||
@@ -55,4 +56,6 @@ private:
|
||||
};
|
||||
|
||||
#endif // wxUSE_POPUPWIN
|
||||
|
||||
#endif // _WX_TIPWIN_H_
|
||||
|
||||
|
||||
Reference in New Issue
Block a user