#pragma hdrstop
#endif
+#if wxUSE_TIPWINDOW
+
+#include "wx/tipwin.h"
+
#ifndef WX_PRECOMP
#include "wx/dcclient.h"
+ #include "wx/timer.h"
+ #include "wx/settings.h"
#endif // WX_PRECOMP
+
#ifdef __WXGTK__
#include <gtk/gtk.h>
#endif
-#include "wx/tipwin.h"
-
-#if wxUSE_TIPWINDOW
-
-#include "wx/timer.h"
-#include "wx/settings.h"
// ----------------------------------------------------------------------------
// constants
const wxRect& rectBound = m_parent->m_rectBound;
if ( rectBound.width &&
- !rectBound.Inside(ClientToScreen(event.GetPosition())) )
+ !rectBound.Contains(ClientToScreen(event.GetPosition())) )
{
// mouse left the bounding rect, disappear
m_parent->Close();