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
This commit is contained in:
Vadim Zeitlin
2012-12-31 13:40:17 +00:00
parent c420d57be0
commit 103df4a1b0
2 changed files with 9 additions and 1 deletions

View File

@@ -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).

View File

@@ -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;