25 #ifndef __TTYSCROLL_H__
26 #define __TTYSCROLL_H__
28 #include <wx/scrolwin.h>
29 #include <wx/textctrl.h>
34 TTYScroll(wxWindow *parent,
int n_lines, wxTextCtrl &tFilter);
36 virtual void OnDraw(wxDC &dc);
37 virtual void Add(
const wxString &line);
38 void OnSize(wxSizeEvent &event);
39 void Pause(
bool pause) { bpause = pause; }
46 wxArrayString *m_plineArray;
47 wxTextCtrl &m_tFilter;