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

Offline gd_on

  • Regular
  • ***
  • Posts: 408
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 2.8.12, Compilers TDM 4.9.2 32 bits (gcc and gfortran installed in C:\MinGW32). Tests with C::B 64 bits and WxWidgets 2.8.12 or 3.1.1 (64 bits) compiled by TDM 4.9.2 in C:\MinGW64

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 10842
    • 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: 408
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 2.8.12, Compilers TDM 4.9.2 32 bits (gcc and gfortran installed in C:\MinGW32). Tests with C::B 64 bits and WxWidgets 2.8.12 or 3.1.1 (64 bits) compiled by TDM 4.9.2 in C:\MinGW64