Bring a modern and lightweight WebView control to wxWidgets on Microsoft Windows.
wxWebViewBlink is a Chromium webview backend for wxWidgets using weolar's MiniBlink, a lite version of Blink core of Google Chromium.
- Support all Windows starting from Windows XP.
- Linked to system origin msvcrt.dll directly, NOT rely on VS runtime library.
- Passed all wxWebView test except Find in page and Print feature, you can try changing WebView sample in wxWidgets to use wxWebViewBlink.
-
Download compiled binary release from here. Or, you can compile by yourself from my own fork of MiniBlink.
-
Define
USE_WEBVIEW_MINIBLINK=1
in your project configuration. -
Include
WebViewMiniBlink.h
in your code. -
Create instance of wxWebViewBlink by using
wxWebViewBackendMiniBlink
backend:
const char* backend =
#if USE_WEBVIEW_MINIBLINK
wxWebViewBackendMiniBlink;
#else
wxWebViewBackendDefault;
#endif
wxWebView::New(this, ID_WEBVIEW, wxEmptyString, wxDefaultPosition, GetClientSize(), backend);
- Put node.dll in your app's directory.
- If you think the binary of MiniBlink is huge, use UPX to compress it to a much smaller one (~5MiB).