+ m_chkFilename = CreateCheckBoxAndAddToSizer(
+ sizerLeft, wxT("&Filename control")
+ );
+ m_chkFilename->Disable(); // not implemented yet
+ sizerLeft->AddSpacer(5);
+
+ static const wxString wrap[] =
+ {
+ wxT("no wrap"),
+ wxT("word wrap"),
+ wxT("char wrap"),
+ wxT("best wrap"),
+ };
+
+ m_radioWrap = new wxRadioBox(this, wxID_ANY, wxT("&Wrap style:"),
+ wxDefaultPosition, wxDefaultSize,
+ WXSIZEOF(wrap), wrap,
+ 1, wxRA_SPECIFY_COLS);
+ sizerLeft->Add(m_radioWrap, 0, wxGROW | wxALL, 5);