From: Vadim Zeitlin Date: Mon, 31 Dec 2012 13:40:17 +0000 (+0000) Subject: Slight improvements to wxWebView::EnableContextMenu() documentation. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/103df4a1b0590aee2a52482f2ff0d460745bf2ef Slight improvements to wxWebView::EnableContextMenu() documentation. Explain that the menu is enabled by default so the main use of this method is to disable it. Also add "@since" tags for the new methods. And mention this in the changelog. See #14789. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73327 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/docs/changes.txt b/docs/changes.txt index f9c2eb15f0..3d55d295db 100644 --- a/docs/changes.txt +++ b/docs/changes.txt @@ -563,6 +563,7 @@ All (GUI): - Add support for searching in wxWebView for MSW and GTK (Allonii). - Add generic wxFileSystem support to wxWebView with wxWebViewFSHandler (Nick Matthews). +- Add possibility to disable context menu in wxWebView. - Add possibility to hide and show again wxRibbonBar pages (wxBen). - Add wxRibbonBar pages highlighting (wxBen). - Add expand/collapse button to wxRibbonBar (rakeshthp). diff --git a/interface/wx/webview.h b/interface/wx/webview.h index 64e7d68829..55ff6e77b9 100644 --- a/interface/wx/webview.h +++ b/interface/wx/webview.h @@ -492,12 +492,19 @@ public: */ /** - Enable or disbale the right click context menu. + Enable or disable the right click context menu. + + By default the standard context menu is enabled, this method can be + used to disable it or re-enable it later. + + @since 2.9.5 */ virtual void EnableContextMenu(bool enable = true); /** Returns @true if a context menu will be shown on right click. + + @since 2.9.5 */ virtual bool IsContextMenuEnabled() const;