- wxStaticText* itemStaticText32 = new wxStaticText( itemPanel1, wxID_STATIC, _("&Outline level:"), wxDefaultPosition, wxDefaultSize, 0 );
- itemFlexGridSizer22->Add(itemStaticText32, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL|wxALL, 5);
-
- wxString m_outlineLevelCtrlStrings[] = {
- _("Normal"),
- _("1"),
- _("2"),
- _("3"),
- _("4"),
- _("5"),
- _("6"),
- _("7"),
- _("8"),
- _("9")
- };
- m_outlineLevelCtrl = new wxComboBox( itemPanel1, ID_RICHTEXTINDENTSSPACINGPAGE_OUTLINELEVEL, _("Normal"), wxDefaultPosition, wxDefaultSize, 10, m_outlineLevelCtrlStrings, wxCB_READONLY );
+ wxStaticText* itemStaticText32 = new wxStaticText( itemRichTextDialogPage1, wxID_STATIC, _("&Outline level:"), wxDefaultPosition, wxDefaultSize, 0 );
+ itemFlexGridSizer22->Add(itemStaticText32, 0, wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxALL, 5);
+
+ wxArrayString m_outlineLevelCtrlStrings;
+ m_outlineLevelCtrlStrings.Add(_("Normal"));
+ m_outlineLevelCtrlStrings.Add(_("1"));
+ m_outlineLevelCtrlStrings.Add(_("2"));
+ m_outlineLevelCtrlStrings.Add(_("3"));
+ m_outlineLevelCtrlStrings.Add(_("4"));
+ m_outlineLevelCtrlStrings.Add(_("5"));
+ m_outlineLevelCtrlStrings.Add(_("6"));
+ m_outlineLevelCtrlStrings.Add(_("7"));
+ m_outlineLevelCtrlStrings.Add(_("8"));
+ m_outlineLevelCtrlStrings.Add(_("9"));
+ m_outlineLevelCtrl = new wxComboBox( itemRichTextDialogPage1, ID_RICHTEXTINDENTSSPACINGPAGE_OUTLINELEVEL, _("Normal"), wxDefaultPosition, wxSize(90, -1), m_outlineLevelCtrlStrings, wxCB_READONLY );