+ m_chkFilename = CreateCheckBoxAndAddToSizer(
+ sizerLeft, _T("&Filename control")
+ );
+ m_chkFilename->Disable(); // not implemented yet
+ sizerLeft->AddSpacer(5);
+
+ static const wxString wrap[] =
+ {
+ _T("no wrap"),
+ _T("word wrap"),
+ _T("char wrap"),
+ _T("best wrap"),
+ };
+
+ m_radioWrap = new wxRadioBox(this, wxID_ANY, _T("&Wrap style:"),
+ wxDefaultPosition, wxDefaultSize,
+ WXSIZEOF(wrap), wrap,
+ 1, wxRA_SPECIFY_COLS);
+ sizerLeft->Add(m_radioWrap, 0, wxGROW | wxALL, 5);
+
+#ifdef __WXMSW__
+ static const wxString kinds[] =
+ {
+ _T("plain edit"),
+ _T("rich edit"),
+ _T("rich edit 2.0"),
+ };
+
+ m_radioKind = new wxRadioBox(this, wxID_ANY, _T("Control &kind"),
+ wxDefaultPosition, wxDefaultSize,
+ WXSIZEOF(kinds), kinds,
+ 1, wxRA_SPECIFY_COLS);
+
+ sizerLeft->AddSpacer(5);
+ sizerLeft->Add(m_radioKind, 0, wxGROW | wxALL, 5);
+#endif // __WXMSW__