]> git.saurik.com Git - wxWidgets.git/blobdiff - src/html/helpfrm.cpp
Reports suggest that _sometimes_ WS_VSCROLL/WS_HSCROLL
[wxWidgets.git] / src / html / helpfrm.cpp
index d01ec35ffb694a6f3f7ff00da4f05820303701ba..5191e19ecde71601aa0e451f4805a958a4fde579 100644 (file)
@@ -113,7 +113,9 @@ class wxHtmlHelpHtmlWindow : public wxHtmlWindow
         virtual void OnLinkClicked(const wxHtmlLinkInfo& link)
         {
             wxHtmlWindow::OnLinkClicked(link);
         virtual void OnLinkClicked(const wxHtmlLinkInfo& link)
         {
             wxHtmlWindow::OnLinkClicked(link);
-            m_Frame->NotifyPageChanged();
+            const wxMouseEvent *e = link.GetEvent();
+            if (e == NULL || e->LeftUp())
+                m_Frame->NotifyPageChanged();
         }
 
     private:
         }
 
     private: