- wxString m_tabListCtrlStrings[] = {
- _("The tab positions.")
- };
- m_tabListCtrl = new wxListBox( itemPanel1, ID_RICHTEXTTABSPAGE_TABLIST, wxDefaultPosition, wxSize(80, 200), 1, m_tabListCtrlStrings, wxLB_SINGLE );
+ wxArrayString m_tabListCtrlStrings;
+ m_tabListCtrlStrings.Add(_("The tab positions."));
+ m_tabListCtrl = new wxListBox( itemRichTextDialogPage1, ID_RICHTEXTTABSPAGE_TABLIST, wxDefaultPosition, wxSize(80, 200), m_tabListCtrlStrings, wxLB_SINGLE );