On Mon, Mar 30, 2009 at 1:05 AM, Eero Pajarre <epaja...@gmail.com> wrote: > I am trying to use the wxBitmapComboBox but it seems to > crash on me while I either try to set or get its selection using > SetStringSelection or GetStringSelection. > ... > with the test shown above the crash possibly happens in > wxLua_wxControlWithItems_SetStringSelection . > > When doing GetStringSelection the crash happens somewhere > 0xdddddddd > t_console!wxItemContainerImmutable::GetStringSelection+0x4b > t_console!wxLua_wxControlWithItems_GetStringSelection+0x4e > > I get the feeling that something is broken in the class inheritance > either in wxLua or wxWidgets side...
It's unfortunately on the wxLua side. I might have inadvertently put wxControlWithItems as it's base class, but it should actually be a couple different ones. I am going to change the bindings so that classes can have multiple base classes to make it possible to wraps these more easily. It'll probably take a few days since it's a pretty big fix. Regards, John ------------------------------------------------------------------------------ _______________________________________________ wxlua-users mailing list wxlua-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wxlua-users