X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4e16881a084fda0bb6672b71dfe3c12eaa9e6a37..27d0ab24826ca90626a7417dcd8a4fff5d92e49a:/samples/richedit/wxllist.h diff --git a/samples/richedit/wxllist.h b/samples/richedit/wxllist.h index fac6223d86..71e7d381ae 100644 --- a/samples/richedit/wxllist.h +++ b/samples/richedit/wxllist.h @@ -28,7 +28,7 @@ # define WXMENU_LAYOUT_LCLICK 1111 # define WXMENU_LAYOUT_RCLICK 1112 # define WXMENU_LAYOUT_DBLCLICK 1113 -#else // for Mahogany only: +#else // for Mahogany only # include "MObject.h" #endif @@ -421,6 +421,7 @@ public: int underline = -1, wxColour *fg = NULL, wxColour *bg = NULL); + wxLayoutObjectCmd(const wxLayoutStyleInfo &si); ~wxLayoutObjectCmd(); /** Stores the current style in the styleinfo structure */ wxLayoutStyleInfo * GetStyle(void) const; @@ -1140,6 +1141,12 @@ public: /// get the line by number wxLayoutLine *GetLine(CoordType index) const; + + /** Reads objects from a string and inserts them. + @param istr stream to read from, will bee changed + */ + void Read(wxString &istr); + private: /// Clear the list. void InternalClear(void);