Scintilla Building Error

BlitzMax Forums/BlitzMax Beginners Area/Scintilla Building Error

MOBii(Posted 2014) [#1]
Scintilla TextArea replacement (WIP)
I download: http://scintillabmx.googlecode.com/files/ScintillaRev9.zip

I try Build: sample.bmx
I get this Error:
Compile Error: Overriding method differs by type
Build Error: failed to compile C:/BlitzMax/MOBii/ScintillaRev9/ScintillaCtrl.bmx

On this Line:
Function Create:TScintillaGadget(x:Int = 0 , y:Int = 0 , w:Int = - 1 , h:Int = - 1 , group:TGadget = Null, style:Int = 0)



What I missing?


Brucey(Posted 2014) [#2]
Overriding method differs by type

It usually means this function has a different set of arguments than the one it is overriding in the super-class. Or the return type is different.


MOBii(Posted 2014) [#3]
I was sitting the whole night and try figure what was wrong:
Local ctrl:TScintillaGadget = New TScintillaGadget
Then I luckily downloaded the .rar: https://code.google.com/p/scintillabmx/downloads/detail?name=Scintilla.rar&can=2&q= and that Scintilla is Working
cheers Brucey