Closed ibilon closed 8 years ago
Oh? the cpp::Reference
has been fixed?? Where, in hxcpp?
You can see hugh's comment here https://github.com/HaxeFoundation/hxcpp/issues/359 linking to this commit https://github.com/HaxeFoundation/hxcpp/commit/ab267e10161cc7a9bb2911593531654db1b1dbb7
Nice. Feels "nicer" to be using Refs rather than pointers... Will merge this shortly and check it out. Does this mean hxcpp has be be git version?
Unsure, will have to test.
Because I modified the way the classes are extended like in Hugh's comment,
for instance it's now class CheckBoxImpl extends Window
and not class CheckBoxImpl extends WindowImpl
, so you don't need the cast anymore actually, so it could work with hxcpp haxelib.
(will have to test too for the cast)
Great, ill check it out on linux and mac later tonight. :+1:
Ok so my last commit does indeed work, but it does require a git version of hxcpp, the casts were not required so I removed them.
I also moved a couple of classes I forgot.
Ok, great... ill merge it now. I havent had a chance to test it myself, but ill make the assumption it works... :)
So just downloaded and tested... works great... thanks loads @ibilon!
I couldn't test the hxcpp compilation for my last commit, should work but I'll report tonight after I check.
All the externs are now in the
wx.widgets
package, changed fromXRef and X
toX and XImpl
, I put back thecpp::Reference
in the@:native
since hxcpp can deal with it now, the styles were extracted too.Haven't touched the hierarchy (#14) yet.