Add new clipboard api and support for it in the ie backend. Also extend the sample to demonstrate the new functions.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2011_WEBVIEW@68129 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -77,6 +77,14 @@ public:
|
||||
virtual wxWebViewZoom GetZoom();
|
||||
virtual void SetZoom(wxWebViewZoom zoom);
|
||||
|
||||
//Clipboard functions
|
||||
virtual bool CanCut();
|
||||
virtual bool CanCopy();
|
||||
virtual bool CanPaste();
|
||||
virtual void Cut();
|
||||
virtual void Copy();
|
||||
virtual void Paste();
|
||||
|
||||
// ---- IE-specific methods
|
||||
|
||||
// FIXME: I seem to be able to access remote webpages even in offline mode...
|
||||
@@ -124,6 +132,10 @@ private:
|
||||
bool m_historyLoadingFromList;
|
||||
bool m_historyEnabled;
|
||||
|
||||
//Generic helper functions for IHtmlDocument commands
|
||||
bool CanExecCommand(wxString command);
|
||||
void ExecCommand(wxString command);
|
||||
|
||||
};
|
||||
|
||||
#endif // wxUSE_WEBVIEW_IE
|
||||
|
Reference in New Issue
Block a user