diff --git a/src/richtext/richtextctrl.cpp b/src/richtext/richtextctrl.cpp index 88008daa7f..05f6ed4999 100644 --- a/src/richtext/richtextctrl.cpp +++ b/src/richtext/richtextctrl.cpp @@ -426,13 +426,11 @@ void wxRichTextCtrl::OnMoveMouse(wxMouseEvent& event) { if (attr.HasFlag(wxTEXT_ATTR_URL)) { - if (!GetCursor().IsRefTo(&m_urlCursor)) - SetCursor(m_urlCursor); + SetCursor(m_urlCursor); } else if (!attr.HasFlag(wxTEXT_ATTR_URL)) { - if (!GetCursor().IsRefTo(&m_textCursor)) - SetCursor(m_textCursor); + SetCursor(m_textCursor); } } }