News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

opengl with wxSmith in wxwidgets 3.1.1

Started by gd_on, June 13, 2018, 11:57:28 AM

Previous topic - Next topic

gd_on

The code generated by wxsglcanvas.cpp is OK with wxwidgets 2.8.12 but not with wxwidgets 3.1.1. The argument order is not the same, so when you compile the automatic generated code you obtain a compilation error. I tried to use WXWIN_COMPATIBILITY_2_8 1, but without success.
I propose a patch to avoid this problem, compatible with both wxwidgets versions.
gd_on
Windows 11 64 bits (25H2), svn C::B (last version or almost!), wxWidgets 3.3.2, Msys2 Compilers 16.1.0, 64 bits (seh, posix : gcc, g++ and gfortran in C:\msys64\mingw64) or 32 bits (dwarf2, posix  in C:\msys64\mingw32).

oBFusCATed

Please post it on sf.net if you don't want the patch to be forgotten.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

gd_on

Windows 11 64 bits (25H2), svn C::B (last version or almost!), wxWidgets 3.3.2, Msys2 Compilers 16.1.0, 64 bits (seh, posix : gcc, g++ and gfortran in C:\msys64\mingw64) or 32 bits (dwarf2, posix  in C:\msys64\mingw32).