git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2011_WEBVIEW@68556
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
void SetScrollPos(int pos);
int GetScrollPos();
- wxString GetSelection();
-
bool CanIncreaseTextSize();
void IncreaseTextSize();
bool CanDecreaseTextSize();
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 )