]> git.saurik.com Git - wxWidgets.git/blobdiff - src/html/htmlcell.cpp
show the cursor on screen after moving it
[wxWidgets.git] / src / html / htmlcell.cpp
index a020833ea2318d2dadaadbdbc4b16e14e4834813..bdc2edfa3ace5fee71f8c04073f96c361d5f11f0 100644 (file)
@@ -283,7 +283,7 @@ void wxHtmlWordCell::Split(wxDC& dc,
     wxPoint pt1 = (selFrom == wxDefaultPosition) ?
                    wxDefaultPosition : selFrom - GetAbsPos();
     wxPoint pt2 = (selTo == wxDefaultPosition) ?
-                   wxPoint(m_Width, wxDefaultPosition.y) : selTo - GetAbsPos();
+                   wxPoint(m_Width, wxDefaultCoord) : selTo - GetAbsPos();
 
     wxCoord charW, charH;
     unsigned len = m_Word.length();