This commit was manufactured by cvs2svn to create tag 'WX_2_8_4-rc2'.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/tags/WX_2_8_4-rc2@45760 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -754,9 +754,12 @@ MyFrame::MyFrame(const wxString& title, wxWindowID id, const wxPoint& pos,
|
||||
r.WriteText(wxT("colour, like this red bit."));
|
||||
r.EndTextColour();
|
||||
|
||||
r.BeginTextColour(wxColour(0, 0, 255));
|
||||
r.WriteText(wxT(" And this blue bit."));
|
||||
r.EndTextColour();
|
||||
wxRichTextAttr backgroundColourAttr;
|
||||
backgroundColourAttr.SetBackgroundColour(*wxGREEN);
|
||||
backgroundColourAttr.SetTextColour(wxColour(0, 0, 255));
|
||||
r.BeginStyle(backgroundColourAttr);
|
||||
r.WriteText(wxT(" And this blue on green bit."));
|
||||
r.EndStyle();
|
||||
|
||||
r.WriteText(wxT(" Naturally you can make things "));
|
||||
r.BeginBold();
|
||||
|
||||
Reference in New Issue
Block a user