}
/// Set the attributes and optionally update the display
-bool wxRichTextFormattingDialog::SetStyle(const wxTextAttr& style, bool update)
+bool wxRichTextFormattingDialog::SetStyle(const wxRichTextAttr& style, bool update)
{
m_attributes = style;
if (update)
// Helper for pages to get the attributes
-wxTextAttr* wxRichTextFormattingDialog::GetDialogAttributes(wxWindow* win)
+wxRichTextAttr* wxRichTextFormattingDialog::GetDialogAttributes(wxWindow* win)
{
wxRichTextFormattingDialog* dialog = GetDialog(win);
if (dialog)
wxControl::Create(parent, id, pos, size, style);
SetColour(wxSystemSettings::GetColour(wxSYS_COLOUR_WINDOW));
- SetBackgroundStyle(wxBG_STYLE_COLOUR);
}
wxRichTextColourSwatchCtrl::~wxRichTextColourSwatchCtrl()