Small bug fixes
Added GetStyleForRange to wxRichTextCtrl HasCharacter/ParagraphAttributes range now consistent with other functions in wxRichTextCtrl git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43432 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1647,7 +1647,9 @@ bool wxRichTextParagraphLayoutBox::SetStyle(const wxRichTextRange& range, const
|
||||
else
|
||||
newPara = para;
|
||||
|
||||
if (paragraphStyle && !charactersOnly)
|
||||
// If we're specifying paragraphs only, then we really mean character formatting
|
||||
// to be included in the paragraph style
|
||||
if ((paragraphStyle || parasOnly) && !charactersOnly)
|
||||
{
|
||||
if (applyMinimal)
|
||||
{
|
||||
|
Reference in New Issue
Block a user