diff options
Diffstat (limited to 'WebCore/platform/wx/PasteboardWx.cpp')
-rw-r--r-- | WebCore/platform/wx/PasteboardWx.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/WebCore/platform/wx/PasteboardWx.cpp b/WebCore/platform/wx/PasteboardWx.cpp index 207c63c..4677d14 100644 --- a/WebCore/platform/wx/PasteboardWx.cpp +++ b/WebCore/platform/wx/PasteboardWx.cpp @@ -53,7 +53,7 @@ Pasteboard* Pasteboard::generalPasteboard() void Pasteboard::writeSelection(Range* selectedRange, bool canSmartCopyOrDelete, Frame* frame) { if (wxTheClipboard->Open()) { - wxTheClipboard->SetData( new wxTextDataObject(frame->selectedText()) ); + wxTheClipboard->SetData( new wxTextDataObject(frame->editor()->selectedText()) ); wxTheClipboard->Close(); } } |