+
+ // lay out the controls
+ wxBoxSizer *column1 = new wxBoxSizer(wxVERTICAL);
+ column1->Add( m_text, 0, wxALL | wxEXPAND, 10 );
+ column1->Add( m_password, 0, wxALL | wxEXPAND, 10 );
+ column1->Add( m_readonly, 0, wxALL | wxEXPAND, 10 );
+ column1->Add( m_limited, 0, wxALL | wxEXPAND, 10 );
+ column1->Add( m_horizontal, 1, wxALL | wxEXPAND, 10 );
+
+ wxBoxSizer *column2 = new wxBoxSizer(wxVERTICAL);
+ column2->Add( m_multitext, 1, wxALL | wxEXPAND, 10 );
+ column2->Add( m_tab, 1, wxALL | wxEXPAND, 10 );
+ column2->Add( m_enter, 1, wxALL | wxEXPAND, 10 );
+
+ wxBoxSizer *row1 = new wxBoxSizer(wxHORIZONTAL);
+ row1->Add( column1, 0, wxALL | wxEXPAND, 10 );
+ row1->Add( column2, 1, wxALL | wxEXPAND, 10 );
+ row1->Add( m_textrich, 1, wxALL | wxEXPAND, 10 );
+
+ wxBoxSizer *topSizer = new wxBoxSizer(wxVERTICAL);
+ topSizer->Add( row1, 2, wxALL | wxEXPAND, 10 );
+
+#if wxUSE_LOG
+ topSizer->Add( m_log, 1, wxALL | wxEXPAND, 10 );
+#endif
+
+ SetAutoLayout( true );
+ SetSizer(topSizer);