Build fix for Qt, Gtk, and Wx.
[WebKit-https.git] / WebCore / platform / wx / PasteboardWx.cpp
index 5f90c51cb6690c6863a0bcd38038f3ac92bac920..023e661a4f2f082539e72beaf31146168c28dfcb 100644 (file)
@@ -80,7 +80,7 @@ void Pasteboard::writeURL(const KURL& url, const String&, Frame*)
 {
     if (wxTheClipboard->Open())
     {
-        wxTheClipboard->SetData( new wxTextDataObject( url.url() ) );
+        wxTheClipboard->SetData( new wxTextDataObject( url.string() ) );
         wxTheClipboard->Close();
     }
 }