wxMax2d and wwxGlMax2d compile error

BlitzMax Forums/Brucey's Modules/wxMax2d and wwxGlMax2d compile error

Rixarn(Posted 2010) [#1]
Hi!

I have another problem with wx but this time i couldn't fix it myself. When trying to compile i get the following errors:

Compile Error: Overriding method differs by type
[D:/Programming Tools/BlitzMax 140/mod/wx.mod/wxglmax2d.mod/wxglmax2d.bmx;200;2]
Build Error: failed to compile D:/Programming Tools/BlitzMax 140/mod/wx.mod/wxglmax2d.mod/wxglmax2d.bmx

Compile Error: Overriding method differs by type
[D:/Programming Tools/BlitzMax 140/mod/wx.mod/wxmax2d.mod/wxmax2d.bmx;81;2]
Build Error: failed to compile D:/Programming Tools/BlitzMax 140/mod/wx.mod/wxmax2d.mod/wxmax2d.bmx

I'm using Bmax 1.40, it's ok if i just make the overriding method match the parent's class signature? Thanks!


Pete Rigz(Posted 2010) [#2]
bmax 1.40? I thought we were on 1.39, unless your in beta or something :)

Anyway, this problem is explained just a couple of threads down


Rixarn(Posted 2010) [#3]
Lol! Sorry, my bad. It's 139. Since im toying around with blide and two different versions of Bmax, i just rename the directory for the compiler to work. Forgot to put it back to the actual version :P

BTW, thank you for the link. I'll read it. Thanks! =)