X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/30bf76303915c3d70e0ff9a180a48a2f80b8cd11..424da8bdb9f05243d8888d78a56ab0cc3f615a6c:/src/richtext/richtextformatdlg.cpp?ds=inline diff --git a/src/richtext/richtextformatdlg.cpp b/src/richtext/richtextformatdlg.cpp index d45b0cae23..6ae7671452 100644 --- a/src/richtext/richtextformatdlg.cpp +++ b/src/richtext/richtextformatdlg.cpp @@ -130,7 +130,7 @@ bool wxRichTextFormattingDialog::ApplyStyle(wxRichTextCtrl* ctrl, const wxRichTe } /// 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) @@ -462,7 +462,7 @@ wxRichTextFormattingDialog* wxRichTextFormattingDialog::GetDialog(wxWindow* win) // Helper for pages to get the attributes -wxTextAttr* wxRichTextFormattingDialog::GetDialogAttributes(wxWindow* win) +wxRichTextAttr* wxRichTextFormattingDialog::GetDialogAttributes(wxWindow* win) { wxRichTextFormattingDialog* dialog = GetDialog(win); if (dialog) @@ -499,7 +499,6 @@ wxRichTextColourSwatchCtrl::wxRichTextColourSwatchCtrl(wxWindow* parent, wxWindo wxControl::Create(parent, id, pos, size, style); SetColour(wxSystemSettings::GetColour(wxSYS_COLOUR_WINDOW)); - SetBackgroundStyle(wxBG_STYLE_COLOUR); } wxRichTextColourSwatchCtrl::~wxRichTextColourSwatchCtrl()