- wxString* m_nextStyleStrings = NULL;
- m_nextStyle = new wxComboBox( itemPanel1, ID_RICHTEXTSTYLEPAGE_NEXT_STYLE, _T(""), wxDefaultPosition, wxDefaultSize, 0, m_nextStyleStrings, wxCB_DROPDOWN );
+ 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."));