- 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 );
+ itemBoxSizer5->Add(itemStaticText10, 0, wxALIGN_LEFT|wxLEFT|wxRIGHT|wxTOP, 5);
+
+ wxArrayString m_nextStyleStrings;
+ m_nextStyle = new wxComboBox( itemPanel1, ID_RICHTEXTSTYLEPAGE_NEXT_STYLE, wxT(""), wxDefaultPosition, wxDefaultSize, 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."));