Search found 19 matches

by faradayent
Sat May 16, 2020 9:55 pm
Forum: C++ Development
Topic: wxWebview RunScript howto?
Replies: 4
Views: 270

Re: wxWebview RunScript howto?

Yes, on MSW and using wxWidgets 3.1.3, but I think I read the Chrome backend requires VS2015 to build and I'm still on VS2012 and mingw. Too bad there's not a Firefox version. I don't suppose there's any way to do this with a self contained browser, not crazy about the dependency. But the chart sure...
by faradayent
Sat May 16, 2020 9:07 pm
Forum: C++ Development
Topic: wxWebview RunScript howto?
Replies: 4
Views: 270

Re: wxWebview RunScript howto?

Thanks, the code in the zip may be close to what I'm looking for. It built using mingw after adding libwxmsw31ud_webview.a (has to be before core) and libwxregexud.a to the project. And it almost runs... But when it comes up I got a rather unusual warning: "Failed to find web view emulation level in...
by faradayent
Sat May 16, 2020 3:25 pm
Forum: C++ Development
Topic: wxWebview RunScript howto?
Replies: 4
Views: 270

wxWebview RunScript howto?

Hi, I'd like to render javascript based charts in wxWidgets. An example chart can be found here: https://www.chartjs.org/samples/latest/charts/line/basic.html It seems I should use RunScript() but I can't find any example code on how this should be done for displaying JS created images. My end goal ...
by faradayent
Sat Jul 16, 2016 3:22 pm
Forum: C++ Development
Topic: OpenGL Samples broken in 3.1.0 ?
Replies: 20
Views: 4211

Re: OpenGL Samples broken in 3.1.0 ?

Thank you! I appreciate all your hard work in figuring this out (working mostly in embedded stuff I lacked the expertise to do it).

Is it likely that the solution will be rolled into a future release of Widgets?
by faradayent
Fri Jul 08, 2016 8:54 pm
Forum: C++ Development
Topic: OpenGL Samples broken in 3.1.0 ?
Replies: 20
Views: 4211

Re: OpenGL Samples broken in 3.1.0 ?

"Has there been any update on this?"

No, I moved on to something else and haven't had time to re-visit.

Sorry you're having troubles too.
by faradayent
Tue May 17, 2016 1:01 am
Forum: C++ Development
Topic: OpenGL Samples broken in 3.1.0 ?
Replies: 20
Views: 4211

Re: OpenGL Samples broken in 3.1.0 ?

Manolo,
I've been running that system with only one monitor attached, and the system that it works on has two attached.

I'm moving on, unfortunately can't spend any more time on this. Thanks for trying to help!
by faradayent
Fri May 13, 2016 3:25 pm
Forum: C++ Development
Topic: OpenGL Samples broken in 3.1.0 ?
Replies: 20
Views: 4211

Re: OpenGL Samples broken in 3.1.0 ?

"Please, in wx 3.1.0 remove lines 183 to 186 at src/common/glcmn.cpp" Nope, sorry, didn't work, same errors. I started from fresh 3.1.0 source, commented out lines indicated, built widgets and samples under MinGW 4.9.3 with mingw32-make -f makefile.gcc CXXFLAGS="-std=gnu++11" MONOLITHIC=0 SHARED=1 U...
by faradayent
Fri May 06, 2016 8:40 pm
Forum: C++ Development
Topic: OpenGL Samples broken in 3.1.0 ?
Replies: 20
Views: 4211

Re: OpenGL Samples broken in 3.1.0 ?

Hi doublemax, I went ahead and built the libraries and wxWidgets on an XP (32 bit) machine just to check. Isosurf works on it both in 3.0.2 and 3.1.0. On the Win7 (64 bit Win7 Professional) machine, the 3.0.2 build of wxWidgets and Isosurf works. The 3.1.0 build of wxWidgets and Isosurf fails. It fa...
by faradayent
Thu May 05, 2016 7:58 pm
Forum: C++ Development
Topic: OpenGL Samples broken in 3.1.0 ?
Replies: 20
Views: 4211

OpenGL Samples broken in 3.1.0 ?

MinGW (4.9) build of samples including OpenGL penguin and isosurf seem to work just fine. When samples for 3.1.0 are built (gcc_mswudll), they work fine (AFAIK), except for those in the OpenGL folder. When penguin.exe is executed I get: ../../src/msw/glcanvas.cpp(767):assert ""Assert failure"" faile...
by faradayent
Fri Jun 13, 2014 5:37 am
Forum: C++ Development
Topic: wxListCtrl Horizontal Scroll of images only?
Replies: 2
Views: 908

Re: wxListCtrl Horizontal Scroll of images only?

Thanks DoubleMax. I'll give the first alternative a try.
by faradayent
Thu Jun 12, 2014 8:37 pm
Forum: C++ Development
Topic: wxListCtrl Horizontal Scroll of images only?
Replies: 2
Views: 908

wxListCtrl Horizontal Scroll of images only?

I want to display dozens of small images in a box, horizontally only, with a horizontal scroll bar. I built a small app using wxListCtrl and can put lots of images in it (SetImageList then multiple InsertItem), but the box will only display 5 images in a line, then wraps to a new line and puts the n...
by faradayent
Tue Sep 10, 2013 1:47 pm
Forum: C++ Development
Topic: WM_MOUSEWHEEL event goes to wrong window
Replies: 3
Views: 1636

Re: WM_MOUSEWHEEL event goes to wrong window

Thanks! Yes, adding a SetFocus(); upon entering the GLCanvasA::OnMouse(wxMouseEvent& event) function causes the wheel event to be captured by the GLCanvas once again. Zoom in and out works. Do you happen to know if this behavior is by design or an oversight? There are (at least) two situations here....
by faradayent
Tue Sep 10, 2013 5:09 am
Forum: C++ Development
Topic: WM_MOUSEWHEEL event goes to wrong window
Replies: 3
Views: 1636

WM_MOUSEWHEEL event goes to wrong window

I'm working on an application that combines the penguin and auidemo sample files. I've taken one of the notebook tabs and put a wxGLCanvas into it. Works fine with one problem. The center mouse wheel causes zoom in and zoom out when the application is first started. Great! But if any window outside ...
by faradayent
Wed Apr 07, 2010 3:59 pm
Forum: C++ Development
Topic: DrawBitmap doesn't work for printing with OnPrintPage?
Replies: 3
Views: 557

Actually, DrawBitmap does work okay. I went back and cleaned up my example code and while looking at the print preview noticed a very small speck. Thought it was something on the monitor, but when I tried to clean it off realized that it was my image, shrunken down to where I could hardly see it. Th...