Include the headers normally included from wx/wxprec.h.
Also define the stuff missing from the headers of some compilers (notably
MinGW but probably also VC6) ourselves.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@69488
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
#ifndef _WX_GENERIC_PRIVATE_RICHTOOLTIP_H_
#define _GENERIC_PRIVATE_RICHTOOLTIP_H_
#ifndef _WX_GENERIC_PRIVATE_RICHTOOLTIP_H_
#define _GENERIC_PRIVATE_RICHTOOLTIP_H_
+#include "wx/icon.h"
+#include "wx/colour.h"
+
// ----------------------------------------------------------------------------
// wxRichToolTipGenericImpl: defines generic wxRichToolTip implementation.
// ----------------------------------------------------------------------------
// ----------------------------------------------------------------------------
// wxRichToolTipGenericImpl: defines generic wxRichToolTip implementation.
// ----------------------------------------------------------------------------
#if wxUSE_RICHTOOLTIP
#ifndef WX_PRECOMP
#if wxUSE_RICHTOOLTIP
#ifndef WX_PRECOMP
+ #include "wx/treectrl.h"
#endif // WX_PRECOMP
#include "wx/private/richtooltip.h"
#endif // WX_PRECOMP
#include "wx/private/richtooltip.h"
#include "wx/msw/private.h"
#include "wx/msw/uxtheme.h"
#include "wx/msw/private.h"
#include "wx/msw/uxtheme.h"
+// Provide definitions missing from some compilers SDK headers.
+
+#ifndef TTI_NONE
+enum
+{
+ TTI_NONE,
+ TTI_INFO,
+ TTI_WARNING,
+ TTI_ERROR
+};
+#endif // !defined(TTI_XXX)
+
+#ifndef Edit_ShowBalloonTip
+struct EDITBALLOONTIP
+{
+ DWORD cbStruct;
+ LPCWSTR pszTitle;
+ LPCWSTR pszText;
+ int ttiIcon;
+};
+
+#define Edit_ShowBalloonTip(hwnd, pebt) \
+ (BOOL)::SendMessage((hwnd), 0x1503 /* EM_SHOWBALLOONTIP */, 0, (LPARAM)(pebt))
+
+#endif // !defined(Edit_ShowBalloonTip)
+
// ============================================================================
// wxRichToolTipMSWImpl: the real implementation.
// ============================================================================
// ============================================================================
// wxRichToolTipMSWImpl: the real implementation.
// ============================================================================