-MyFrame::MyFrame(wxFrame *frame, char *title, int x, int y, int w, int h):
- wxFrame(frame, -1, title, wxPoint(x, y), wxSize(w, h))
-{}
+MyFrame::MyFrame(wxFrame *frame, char *title, int x, int y, int w, int h)
+ : wxFrame(frame, -1, title, wxPoint(x, y), wxSize(w, h))
+{
+ wxPanel *panel = new wxPanel(this, -1, wxPoint(0, 0), wxSize(400, 200),
+ wxTAB_TRAVERSAL);
+
+ m_txtctrl = new wxTextCtrl(panel, -1, "", wxPoint(10,30), wxSize(390, 190),
+ wxTE_MULTILINE);
+
+ (void)new wxStaticText(panel, -1, "Log window", wxPoint(10,10));
+}