X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/833cce0628dcad21147e75de1afa8afe4a5c86a2..aa0ff209bc82d0f7c48263bb28609769d09f051b:/src/richtext/richtextctrl.cpp?ds=sidebyside 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); } } }