- wxSize size = m_frame->GetClientSize();
- m_textsw = new MyTextWindow(this, m_frame, wxPoint(0, 0), size, wxTE_MULTILINE);
- m_frame->SetTitle(wxT("TextEditView"));
-
-#ifdef __X__
- // X seems to require a forced resize
- int x, y;
- frame->GetSize(&x, &y);
- frame->SetSize(wxDefaultCoord, wxDefaultCoord, x, y);
-#endif
-