- m_readonly = new MyTextCtrl( this, wxID_ANY, wxT("Read only"),
- wxPoint(10,90), wxSize(140,wxDefaultCoord), wxTE_READONLY );
-
- m_limited = new MyTextCtrl(this, wxID_ANY, wxT("Max 8 ch"),
- wxPoint(10, 130), wxSize(140, wxDefaultCoord));
+ m_limited = new MyTextCtrl(this, wxID_ANY, "",
+ wxPoint(10, 90), wxDefaultSize);
+ m_limited->SetHint("Max 8 ch");