wxWebView in Windows -- retire wxWEBVIEW_BACKEND_IE (MSW) ?

If you are using the main C++ distribution of wxWidgets, Feel free to ask any question related to wxWidgets development here. This means questions regarding to C++ and wxWidgets, not compile problems.
pvn
Earned some good credits
Earned some good credits
Posts: 105
Joined: Mon Dec 26, 2016 5:21 am
Contact:

Re: wxWebView in Windows -- retire wxWEBVIEW_BACKEND_IE (MSW) ?

Post by pvn »

@doublemax

I submitted a bug report

I think it's obvious it's a wxWebView bug.

If you save the HTML code on this page to a local file

https://developers.google.com/maps/docu ... gon-simple

and open the local HTML file in Internet Explorer (same rendering engine as the one wxWebView uses), it renders the polygon

if you open the same HTML file in the wxWidgets sample "webview" it does not

Unfortunately as of 2016 Google requires an API key, I'm afraid there is no way around it

but the process is really simple, on the URL above, just click the button "GET A KEY" , it generates the key on the browser, copy and paste to the local HTML file
wxwxwx
I live to help wx-kind
I live to help wx-kind
Posts: 180
Joined: Thu Dec 20, 2012 4:25 pm

Re: wxWebView in Windows -- retire wxWEBVIEW_BACKEND_IE (MSW) ?

Post by wxwxwx »

Hello,
i want to use html,css and js in order to have a modern ui.

I came around CEF, downloaded the binary edition and samples and built them with VS2015,VS2017.
The samples work fine, shall mean, i can get from JS into c++ and vice versa.
But the samples use Win32 API for window hosting.

The problem: I need a cross platform framework as host for chromium, like wxWidgets
but i was not able to run it successfully.


I checked also the wxWebViewChromium project

https://github.com/siena123/wxWebViewCh ... 23485f0cd1
along with latest sample. It compiles and runs but once you type an URL it crashes because there is browser instance.

--
Perhaps there is a misunderstanding on my side, but i think the only challenge to integrate CEF with a framework, is to have
view or frame to host the chromium browser piece and to deal with message queues.


Are there any new approaches to get CEF working with wxWidgets ?
Thank you
Post Reply