wxRichTextStyleComboCtrlThis is a combo control that can display the styles in a wxRichTextStyleSheet, and apply the selection to an associated wxRichTextCtrl. See samples/richtext for an example of how to use it. Derived from Include files <wx/richtext/richtextstyles.h> See also wxRichTextStyleListBox, wxRichTextCtrl overview Members
wxRichTextStyleComboCtrl::wxRichTextStyleComboCtrl
wxRichTextStyleComboCtrl::wxRichTextStyleComboCtrlwxRichTextStyleComboCtrl(wxWindow* parent, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = 0) Constructor.
wxRichTextStyleComboCtrl::~wxRichTextStyleComboCtrl~wxRichTextStyleComboCtrl() Destructor.
wxRichTextStyleComboCtrl::GetRichTextCtrlwxRichTextCtrl* GetRichTextCtrl() const Returns the wxRichTextCtrl associated with this control.
wxRichTextStyleComboCtrl::GetStyleSheetwxRichTextStyleSheet* GetStyleSheet() const Returns the style sheet associated with this control.
wxRichTextStyleComboCtrl::SetRichTextCtrlvoid SetRichTextCtrl(wxRichTextCtrl* ctrl) Associates the control with a wxRichTextCtrl.
wxRichTextStyleComboCtrl::SetStyleSheetvoid SetStyleSheet(wxRichTextStyleSheet* styleSheet) Associates the control with a style sheet.
wxRichTextStyleComboCtrl::UpdateStylesvoid UpdateStyles() Updates the combo control from the associated style sheet.
|