Return true by default under OSX WebKit.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2011_WEBVIEW@68763 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Steve Lamerton 2011-08-17 13:50:01 +00:00
parent 0e830c7c52
commit 6849a4b714
2 changed files with 6 additions and 6 deletions

View File

@ -92,9 +92,9 @@ public:
virtual void Redo();
//Clipboard functions
virtual bool CanCut() const { return false; }
virtual bool CanCopy() const { return false; }
virtual bool CanPaste() const { return false; }
virtual bool CanCut() const { return true; }
virtual bool CanCopy() const { return true; }
virtual bool CanPaste() const { return true; }
virtual void Cut();
virtual void Copy();
virtual void Paste();

View File

@ -393,21 +393,21 @@ public:
/**
Returns @true if the current selection can be copied.
@note This always returns @c false on the OSX WebKit backend.
@note This always returns @c true on the OSX WebKit backend.
*/
virtual bool CanCopy() const = 0;
/**
Returns @true if the current selection can be cut.
@note This always returns @c false on the OSX WebKit backend.
@note This always returns @c true on the OSX WebKit backend.
*/
virtual bool CanCut() const = 0;
/**
Returns @true if data can be pasted.
@note This always returns @c false on the OSX WebKit backend.
@note This always returns @c true on the OSX WebKit backend.
*/
virtual bool CanPaste() const = 0;