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

Offline gd_on

  • Regular
  • ***
  • Posts: 471
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 10 or 7, svn C::B (last version or almost!), WxWidgets 3.1.2, Compilers 8.1.0, 32 bits (sjlj, posix : gcc and gfortran installed in C:\MinGW32) or 64 bits by Compilers 8.1.0 (seh, posix : in C:\MinGW64).

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 12000
    • 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

  • Regular
  • ***
  • Posts: 471
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 10 or 7, svn C::B (last version or almost!), WxWidgets 3.1.2, Compilers 8.1.0, 32 bits (sjlj, posix : gcc and gfortran installed in C:\MinGW32) or 64 bits by Compilers 8.1.0 (seh, posix : in C:\MinGW64).