Added a couple of text effects
Added style description Fixed some bugs in style comparison Fixed extra newline when loading git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43197 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -45,6 +45,7 @@ void wxRichTextStyleDefinition::Copy(const wxRichTextStyleDefinition& def)
|
||||
m_name = def.m_name;
|
||||
m_baseStyle = def.m_baseStyle;
|
||||
m_style = def.m_style;
|
||||
m_description = def.m_description;
|
||||
}
|
||||
|
||||
bool wxRichTextStyleDefinition::Eq(const wxRichTextStyleDefinition& def) const
|
||||
@@ -376,6 +377,9 @@ void wxRichTextStyleSheet::Copy(const wxRichTextStyleSheet& sheet)
|
||||
wxRichTextListStyleDefinition* def = (wxRichTextListStyleDefinition*) node->GetData();
|
||||
AddListStyle(new wxRichTextListStyleDefinition(*def));
|
||||
}
|
||||
|
||||
SetName(sheet.GetName());
|
||||
SetDescription(sheet.GetDescription());
|
||||
}
|
||||
|
||||
/// Equality
|
||||
|
Reference in New Issue
Block a user