Wx compile error with 1.36

BlitzMax Forums/Brucey's Modules/Wx compile error with 1.36

xlsior(Posted 2009) [#1]
Error when recompiling Wx with the new Blitzmax 1.36:


Compile Error: Overriding method differs by type
[C:/Code/SpeedMax/mod/wx.mod/wxglmax2d.mod/wxglmax2d.bmx;199;2]
Build Error: failed to compile C:/Code/SpeedMax/mod/wx.mod/wxglmax2d.mod/wxglmax2d.bmx




Nigel Brown(Posted 2009) [#2]
My guess is the draw function, now different in 1.36 and you will need to change the line with the error from:
Method Draw( x0#,y0#,x1#,y1#,tx#,ty# )

to
Method Draw( x0#,y0#,x1#,y1#,tx#,ty#,sx#,sy#,sw#,sh# )

in both wxglmax2d.bmx and wxmax2d.bmx


Imphenzia(Posted 2009) [#3]
When making the suggestion Draw modifications above the next compile error appears:

Compile Error: Unable to create new object of abstract type 'TGLMax2DDriver' due to abstract method 'SetResolution' in wxmax2d.bmx on row Global _driver:TGLMax2DDriver=New TGLMax2DDriver


byo(Posted 2009) [#4]
I'm having this error while compiling libtcod:

GLframe.Draw(0, 0, fontWidth, fontHeight, X, Y, 0, 0, 1, 1)



Compiling:text.bmx
Compile Error: Too many function parameters
[C:/Arquivos de programas/BlitzMax/mod/bah.mod/libtcod.mod/text.bmx;138;6]
Build Error: failed to compile C:/Arquivos de programas/BlitzMax/mod/bah.mod/libtcod.mod/text.bmx



And again, Brucey, thanks for the amazing work you put in these modules.


Nigel Brown(Posted 2010) [#5]
@Imphenzia Are you using the latest source from the googlecode download?

svn checkout http://wxmax.googlecode.com/svn/trunk/ wxmax-read-only