- wxTextCtrl *text = new wxTextCtrl( m_notebook, ID_TEXT, "Write text here.", wxPoint(10,10), wxSize(120,100), wxTE_MULTILINE );
- m_notebook->AddPage(text, "wxTextCtrl" , FALSE, Image_Text);
+ panel = new wxPanel(m_notebook);
+ panel->SetBackgroundColour("cadet blue");
+ wxTextCtrl *tc = new wxTextCtrl( panel, ID_TEXT, "Write text here.", wxPoint(10,10), wxSize(350,28));
+ tc->SetBackgroundColour("wheat");
+ tc = new wxTextCtrl( panel, ID_TEXT, "And here.", wxPoint(10,50), wxSize(350,160), wxTE_MULTILINE );
+ tc->SetBackgroundColour("wheat");
+ m_notebook->AddPage(panel, "wxTextCtrl" , FALSE, Image_Text);