diff --git a/include/wx/osx/webview_webkit.h b/include/wx/osx/webview_webkit.h index 047f6c7eb8..2e5a75b45e 100644 --- a/include/wx/osx/webview_webkit.h +++ b/include/wx/osx/webview_webkit.h @@ -128,8 +128,6 @@ public: void SetScrollPos(int pos); int GetScrollPos(); - wxString GetSelection(); - bool CanIncreaseTextSize(); void IncreaseTextSize(); bool CanDecreaseTextSize(); diff --git a/src/osx/webview_webkit.mm b/src/osx/webview_webkit.mm index 763c9097ca..37b6eb9cbb 100644 --- a/src/osx/webview_webkit.mm +++ b/src/osx/webview_webkit.mm @@ -568,15 +568,6 @@ wxString wxWebViewWebKit::GetPageSource() return wxEmptyString; } -wxString wxWebViewWebKit::GetSelection() -{ - if ( !m_webView ) - return wxEmptyString; - - NSString* selectedText = [[m_webView selectedDOMRange] toString]; - return wxStringWithNSString( selectedText ); -} - bool wxWebViewWebKit::CanIncreaseTextSize() { if ( !m_webView )