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.
|