]> git.saurik.com Git - wxWidgets.git/commitdiff
Remove now unused GetSelection from the OSX WebKit backend.
authorSteve Lamerton <steve.lamerton@gmail.com>
Fri, 5 Aug 2011 13:25:30 +0000 (13:25 +0000)
committerSteve Lamerton <steve.lamerton@gmail.com>
Fri, 5 Aug 2011 13:25:30 +0000 (13:25 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2011_WEBVIEW@68556 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/osx/webview_webkit.h
src/osx/webview_webkit.mm

index 047f6c7eb8a493d1b55dcca1e7a5e269bc06536c..2e5a75b45e8876546b13d309cfe1c67c0cb9911c 100644 (file)
@@ -128,8 +128,6 @@ public:
     void  SetScrollPos(int pos);
     int   GetScrollPos();
 
     void  SetScrollPos(int pos);
     int   GetScrollPos();
 
-    wxString GetSelection();
-
     bool  CanIncreaseTextSize();
     void  IncreaseTextSize();
     bool  CanDecreaseTextSize();
     bool  CanIncreaseTextSize();
     void  IncreaseTextSize();
     bool  CanDecreaseTextSize();
index 763c9097caacaf17c7e0fdd716197840e9f6d11b..37b6eb9cbbe8db6623ca1641f081b48aaaad1e22 100644 (file)
@@ -568,15 +568,6 @@ wxString wxWebViewWebKit::GetPageSource()
     return wxEmptyString;
 }
 
     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 )
 bool wxWebViewWebKit::CanIncreaseTextSize()
 {
     if ( !m_webView )