]> git.saurik.com Git - wxWidgets.git/commitdiff
More compile fixes.
authorRobin Dunn <robin@alldunn.com>
Mon, 30 Oct 2006 21:08:59 +0000 (21:08 +0000)
committerRobin Dunn <robin@alldunn.com>
Mon, 30 Oct 2006 21:08:59 +0000 (21:08 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42766 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/richtext/richtextctrl.cpp

index ad6bccb6efeb920085b03ef258f857775bcbb996..88008daa7f624557b875ad25baa8e64aa9262bfd 100644 (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);
                 }
             }