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:
@@ -563,6 +563,7 @@ All (GUI):
|
|||||||
- Add support for searching in wxWebView for MSW and GTK (Allonii).
|
- Add support for searching in wxWebView for MSW and GTK (Allonii).
|
||||||
- Add generic wxFileSystem support to wxWebView with
|
- Add generic wxFileSystem support to wxWebView with
|
||||||
wxWebViewFSHandler (Nick Matthews).
|
wxWebViewFSHandler (Nick Matthews).
|
||||||
|
- Add possibility to disable context menu in wxWebView.
|
||||||
- Add possibility to hide and show again wxRibbonBar pages (wxBen).
|
- Add possibility to hide and show again wxRibbonBar pages (wxBen).
|
||||||
- Add wxRibbonBar pages highlighting (wxBen).
|
- Add wxRibbonBar pages highlighting (wxBen).
|
||||||
- Add expand/collapse button to wxRibbonBar (rakeshthp).
|
- Add expand/collapse button to wxRibbonBar (rakeshthp).
|
||||||
|
@@ -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);
|
virtual void EnableContextMenu(bool enable = true);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Returns @true if a context menu will be shown on right click.
|
Returns @true if a context menu will be shown on right click.
|
||||||
|
|
||||||
|
@since 2.9.5
|
||||||
*/
|
*/
|
||||||
virtual bool IsContextMenuEnabled() const;
|
virtual bool IsContextMenuEnabled() const;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user