From 833cce0628dcad21147e75de1afa8afe4a5c86a2 Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Mon, 30 Oct 2006 21:08:59 +0000 Subject: [PATCH] More compile fixes. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42766 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/richtext/richtextctrl.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); } } -- 2.45.2