1 ///////////////////////////////////////////////////////////////////////////////
3 // Purpose: wxTipWindow is a window like the one typically used for
4 // showing the tooltips
5 // Author: Vadim Zeitlin
9 // Copyright: (c) 2000 Vadim Zeitlin <zeitlin@dptmaths.ens-cachan.fr>
10 // Licence: wxWindows license
11 ///////////////////////////////////////////////////////////////////////////////
17 #pragma interface "tipwin.h"
22 // ----------------------------------------------------------------------------
24 // ----------------------------------------------------------------------------
26 class WXDLLEXPORT wxTipWindow
: public wxFrame
29 wxTipWindow(wxWindow
*parent
,
31 wxCoord maxLength
= 100);
35 void OnPaint(wxPaintEvent
& event
);
36 void OnMouseClick(wxMouseEvent
& event
);
37 void OnActivate(wxActivateEvent
& event
);
38 void OnKillFocus(wxFocusEvent
& event
);
40 // calculate the client rect we need to display the text
41 void Adjust(const wxString
& text
, wxCoord maxLength
);
44 wxArrayString m_textLines
;
50 #endif // _WX_TIPWIN_H_