Author Topic: opengl with wxSmith in wxwidgets 3.1.1  (Read 7919 times)

Offline gd_on

  • Lives here!
  • ****
  • Posts: 795
opengl with wxSmith in wxwidgets 3.1.1
« on: June 13, 2018, 11:57:28 am »
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 (23H2), svn C::B (last version or almost!), wxWidgets 3.2.4 (tests with 3.3), Msys2 Compilers 13.2.0, 64 bits (seh, posix : gcc, g++ and gfortran in C:\msys64\mingw64) or 32 bits (dwarf2, posix  in C:\msys64\mingw32).

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: opengl with wxSmith in wxwidgets 3.1.1
« Reply #1 on: June 13, 2018, 12:05:19 pm »
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!]

Offline gd_on

  • Lives here!
  • ****
  • Posts: 795
Re: opengl with wxSmith in wxwidgets 3.1.1
« Reply #2 on: June 13, 2018, 12:23:02 pm »
done ... ticket 702
gd_on
Windows 11 64 bits (23H2), svn C::B (last version or almost!), wxWidgets 3.2.4 (tests with 3.3), Msys2 Compilers 13.2.0, 64 bits (seh, posix : gcc, g++ and gfortran in C:\msys64\mingw64) or 32 bits (dwarf2, posix  in C:\msys64\mingw32).