Add start of selection api, support for HasSelection, SelectAll and DeleteSelection along with documentation. Implement for IE and WebKitGTK and add stubs for OSX WebKit.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2011_WEBVIEW@68195 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -712,6 +712,22 @@ bool wxWebViewWebKit::IsEditable()
|
||||
return webkit_web_view_get_editable(WEBKIT_WEB_VIEW(web_view));
|
||||
}
|
||||
|
||||
void wxWebViewWebKit::DeleteSelection()
|
||||
{
|
||||
webkit_web_view_delete_selection(WEBKIT_WEB_VIEW(web_view));
|
||||
}
|
||||
|
||||
bool wxWebViewWebKit::HasSelection()
|
||||
{
|
||||
return webkit_web_view_has_selection(WEBKIT_WEB_VIEW(web_view));
|
||||
}
|
||||
|
||||
void wxWebViewWebKit::SelectAll()
|
||||
{
|
||||
webkit_web_view_select_all(WEBKIT_WEB_VIEW(web_view));
|
||||
}
|
||||
|
||||
|
||||
// static
|
||||
wxVisualAttributes
|
||||
wxWebViewWebKit::GetClassDefaultAttributes(wxWindowVariant WXUNUSED(variant))
|
||||
|
Reference in New Issue
Block a user