From: Robin Dunn Date: Mon, 30 Oct 2006 21:08:59 +0000 (+0000) Subject: More compile fixes. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/833cce0628dcad21147e75de1afa8afe4a5c86a2 More compile fixes. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42766 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/richtext/richtextctrl.cpp b/src/richtext/richtextctrl.cpp index ad6bccb6ef..88008daa7f 100644 --- a/src/richtext/richtextctrl.cpp +++ b/src/richtext/richtextctrl.cpp @@ -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); } }