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;
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;