diff options
Diffstat (limited to 'Source/WebCore/platform/wx/ClipboardWx.cpp')
-rw-r--r-- | Source/WebCore/platform/wx/ClipboardWx.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Source/WebCore/platform/wx/ClipboardWx.cpp b/Source/WebCore/platform/wx/ClipboardWx.cpp index 8a3a9c8a3..24220b9d7 100644 --- a/Source/WebCore/platform/wx/ClipboardWx.cpp +++ b/Source/WebCore/platform/wx/ClipboardWx.cpp @@ -26,7 +26,9 @@ #include "config.h" #include "ClipboardWx.h" +#include "Editor.h" #include "FileList.h" +#include "Frame.h" #include "HashTable.h" #include "IntPoint.h" #include "NotImplemented.h" @@ -127,9 +129,9 @@ void ClipboardWx::writeURL(const KURL& url, const String& string, Frame* frame) Pasteboard::generalPasteboard()->writeURL(url, string, frame); } -void ClipboardWx::writeRange(Range*, Frame*) +void ClipboardWx::writeRange(Range* range, Frame* frame) { - notImplemented(); + Pasteboard::generalPasteboard()->writeSelection(range, frame->editor()->smartInsertDeleteEnabled() && frame->selection()->granularity() == WordGranularity, frame); } bool ClipboardWx::hasData() |