- wxStaticText* itemStaticText10 = new wxStaticText( itemPanel1, wxID_STATIC, _("&Next style:"), wxDefaultPosition, wxDefaultSize, 0 );
- itemBoxSizer5->Add(itemStaticText10, 0, wxALIGN_LEFT|wxLEFT|wxRIGHT|wxTOP|wxADJUST_MINSIZE, 5);
-
- wxString* m_nextStyleStrings = NULL;
- m_nextStyle = new wxComboBox( itemPanel1,
- ID_RICHTEXTSTYLEPAGE_NEXT_STYLE,
- wxEmptyString,
- wxDefaultPosition,
- wxDefaultSize,
- 0,
- m_nextStyleStrings,
- wxCB_DROPDOWN );
+ wxStaticText* itemStaticText10 = new wxStaticText( itemRichTextDialogPage1, wxID_STATIC, _("&Next style:"), wxDefaultPosition, wxDefaultSize, 0 );
+ itemBoxSizer5->Add(itemStaticText10, 0, wxALIGN_LEFT|wxLEFT|wxRIGHT|wxTOP, 5);
+
+ wxArrayString m_nextStyleStrings;
+ m_nextStyle = new wxComboBox( itemRichTextDialogPage1, ID_RICHTEXTSTYLEPAGE_NEXT_STYLE, wxEmptyString, wxDefaultPosition, wxSize(300, -1), m_nextStyleStrings, wxCB_DROPDOWN );
+ m_nextStyle->SetHelpText(_("The default style for the next paragraph."));
+ if (wxRichTextStylePage::ShowToolTips())
+ m_nextStyle->SetToolTip(_("The default style for the next paragraph."));