+// ----------------------------------------------------------------------------
+// wxTipWindowView
+// ----------------------------------------------------------------------------
+
+// Viewer window to put in the frame
+class WXDLLEXPORT wxTipWindowView : public wxWindow
+{
+public:
+ wxTipWindowView(wxWindow *parent);
+
+ // event handlers
+ void OnPaint(wxPaintEvent& event);
+ void OnMouseClick(wxMouseEvent& event);
+ void OnMouseMove(wxMouseEvent& event);
+
+#if !wxUSE_POPUPWIN
+ void OnKillFocus(wxFocusEvent& event);
+#endif // wxUSE_POPUPWIN
+
+ // calculate the client rect we need to display the text
+ void Adjust(const wxString& text, wxCoord maxLength);
+
+private:
+ wxTipWindow* m_parent;
+
+#if !wxUSE_POPUPWIN
+ long m_creationTime;
+#endif // !wxUSE_POPUPWIN
+
+ DECLARE_EVENT_TABLE()
+ DECLARE_NO_COPY_CLASS(wxTipWindowView)
+};
+