macOS: Improve wxWebView::Paste()
The default (javascript) implementation presents the user with a popup menu containing a single 'Paste' menu item. Send this action to directly paste as expected.
This commit is contained in:
@@ -82,6 +82,8 @@ public:
|
||||
virtual wxVector<wxSharedPtr<wxWebViewHistoryItem> > GetForwardHistory() wxOVERRIDE;
|
||||
virtual void LoadHistoryItem(wxSharedPtr<wxWebViewHistoryItem> item) wxOVERRIDE;
|
||||
|
||||
virtual void Paste() wxOVERRIDE;
|
||||
|
||||
//Undo / redo functionality
|
||||
virtual bool CanUndo() const wxOVERRIDE;
|
||||
virtual bool CanRedo() const wxOVERRIDE;
|
||||
|
Reference in New Issue
Block a user