From: Steve Lamerton Date: Wed, 17 Aug 2011 13:50:01 +0000 (+0000) Subject: Return true by default under OSX WebKit. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/6849a4b714a623f56b01b4d787466d3efcc7c385 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 --- diff --git a/include/wx/osx/webview_webkit.h b/include/wx/osx/webview_webkit.h index 7ece424031..5278ca6ef4 100644 --- a/include/wx/osx/webview_webkit.h +++ b/include/wx/osx/webview_webkit.h @@ -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(); diff --git a/interface/wx/webview.h b/interface/wx/webview.h index 1eaacdcaa1..92b7fd70fc 100644 --- a/interface/wx/webview.h +++ b/interface/wx/webview.h @@ -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;