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;