24 #ifndef __CHINFOWIN_H__
25 #define __CHINFOWIN_H__
27 #include <wx/window.h>
28 #include <wx/stattext.h>
36 void SetString(
const wxString& s) { m_string = s; }
37 const wxString& GetString(
void) {
return m_string; }
38 void MouseEvent(wxMouseEvent& event);
40 void SetPosition(wxPoint pt) { m_position = pt; }
41 void SetWinSize(wxSize sz) { m_size = sz; }
43 void FitToChars(
int char_width,
int char_height);
44 wxSize GetWinSize(
void) {
return m_size; }
45 void OnPaint(wxPaintEvent& event);
46 void OnEraseBackground(wxEraseEvent& event);
48 wxStaticText* m_pInfoTextCtl;