More compile fixes.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42766 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2006-10-30 21:08:59 +00:00
parent 2e57368359
commit 833cce0628

View File

@@ -426,12 +426,12 @@ void wxRichTextCtrl::OnMoveMouse(wxMouseEvent& event)
{
if (attr.HasFlag(wxTEXT_ATTR_URL))
{
if (GetCursor() != m_urlCursor)
if (!GetCursor().IsRefTo(&m_urlCursor))
SetCursor(m_urlCursor);
}
else if (!attr.HasFlag(wxTEXT_ATTR_URL))
{
if (GetCursor() != m_textCursor)
if (!GetCursor().IsRefTo(&m_textCursor))
SetCursor(m_textCursor);
}
}