git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49074
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
attr1.GetFont().GetUnderlined() != attr2.GetFont().GetUnderlined())
return false;
attr1.GetFont().GetUnderlined() != attr2.GetFont().GetUnderlined())
return false;
+ if ((flags & wxTEXT_ATTR_URL) && attr1.GetURL() != attr2.GetURL())
+ return false;
+
if ((flags & wxTEXT_ATTR_ALIGNMENT) && attr1.GetAlignment() != attr2.GetAlignment())
return false;
if ((flags & wxTEXT_ATTR_ALIGNMENT) && attr1.GetAlignment() != attr2.GetAlignment())
return false;
attr1.GetFont().GetUnderlined() != attr2.GetFontUnderlined())
return false;
attr1.GetFont().GetUnderlined() != attr2.GetFontUnderlined())
return false;
+ if ((flags & wxTEXT_ATTR_URL) && attr1.GetURL() != attr2.GetURL())
+ return false;
+
if ((flags & wxTEXT_ATTR_ALIGNMENT) && attr1.GetAlignment() != attr2.GetAlignment())
return false;
if ((flags & wxTEXT_ATTR_ALIGNMENT) && attr1.GetAlignment() != attr2.GetAlignment())
return false;