]> git.saurik.com Git - wxWidgets.git/commitdiff
fixed: clicking on links in the help view did nothing
authorVáclav Slavík <vslavik@fastmail.fm>
Tue, 31 Oct 2006 10:48:16 +0000 (10:48 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Tue, 31 Oct 2006 10:48:16 +0000 (10:48 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42829 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/html/helpwnd.cpp

index 38b185a6ddac0619f2d15bdecce73310c900333c..9215711601d458587735957dca4a8152ff1e1fdf 100644 (file)
@@ -119,6 +119,10 @@ public:
         const wxMouseEvent *e = ev.GetLinkInfo().GetEvent();
         if (e == NULL || e->LeftUp())
             m_Window->NotifyPageChanged();
+
+        // skip the event so that normal processing (i.e. following the link)
+        // is done:
+        ev.Skip();
     }
 
     // Returns full location with anchor (helper)