+ wxRect rect;
+ wxSize size = GetClientSize();
+ rect.width = size.x;
+ rect.height = size.y;
+
+ // first filll the background
+ dc.SetBrush(wxBrush(GetBackgroundColour(), wxSOLID));
+ dc.SetPen( wxPen(GetForegroundColour(), 1, wxSOLID) );
+ dc.DrawRectangle(rect);
+
+ // and then draw the text line by line
+ dc.SetTextBackground(GetBackgroundColour());
+ dc.SetTextForeground(GetForegroundColour());
+ dc.SetFont(GetFont());
+
+ wxPoint pt;
+ pt.x = TEXT_MARGIN_X;
+ pt.y = TEXT_MARGIN_Y;
+ size_t count = m_parent->m_textLines.GetCount();
+ for ( size_t n = 0; n < count; n++ )
+ {
+ dc.DrawText(m_parent->m_textLines[n], pt);
+
+ pt.y += m_parent->m_heightLine;
+ }
+}
+
+void wxTipWindowView::OnMouseClick(wxMouseEvent& WXUNUSED(event))