patch as at http://thread.gmane.org/gmane.comp.lib.wxwidgets.devel/92350 thanks
chris git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49113 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -529,9 +529,9 @@ iaculis malesuada. Donec bibendum ipsum ut ante porta fringilla.\n");
|
||||
wxRichTextListStyleDefinition);
|
||||
|
||||
wxRichTextStyleSheet* styleSheet = wxRichTextFormattingDialog::GetDialog(this)->GetStyleSheet();
|
||||
|
||||
wxTextAttr attr(styleSheet ? def->GetStyle() : def->GetStyleMergedWithBase(styleSheet));
|
||||
|
||||
|
||||
wxTextAttr attr((const wxTextAttr &)(styleSheet ? def->GetStyle() : def->GetStyleMergedWithBase(styleSheet)));
|
||||
|
||||
attr.SetFlags(attr.GetFlags() &
|
||||
(wxTEXT_ATTR_ALIGNMENT|wxTEXT_ATTR_LEFT_INDENT|wxTEXT_ATTR_RIGHT_INDENT|wxTEXT_ATTR_PARA_SPACING_BEFORE|wxTEXT_ATTR_PARA_SPACING_AFTER|
|
||||
wxTEXT_ATTR_LINE_SPACING|
|
||||
|
Reference in New Issue
Block a user