-
-
Notifications
You must be signed in to change notification settings - Fork 7
Description
Issue:
Seems the wxSheetSplitter is initialized twice - which it shouldn't.
example:
Compile "samples/sheet.bmx" and see the assert live.
Details:
https://www.syntaxbomb.com/index.php/topic,5058.msg21321.html#msg21321
Side note:
While looking through the generated C-code I saw this:
struct wx_wxsheet_wxSheetSplitter_obj* bbt_sheetSplitter=(struct wx_wxsheet_wxSheetSplitter_obj*)wx_wxsheet_wxSheetSplitter.m_Create_TwxWindowiiiiii((struct wx_wxsheet_wxSheetSplitter_obj*)((struct wx_wxsheet_wxSheetSplitter_obj*)bbObjectNew((BBClass *)&wx_wxsheet_wxSheetSplitter)),(struct wx_wxwindow_wxWindow_obj*)((struct wx_wxwindow_wxWindow_obj*)bbObjectDowncast((BBOBJECT)bbt_splitter,(BBClass*)&wx_wxwindow_wxWindow)),-1,0,0,-1,-1,768);
Which seems to be ... something like a cast of something already casted into the right form. Just a matter of missing "optimization" (A does not know B and they just follow their rules).
