>
> The "self" can be a wxComboBox, wxChoice, wxListBox... and the
> wxItemContainerImmutable class is along the chain of second base
> classes for all of them. All wxLua userdata objects that wrap C++
> objects have a metatable that stores the classes' wxLuaBindClass
> struct (wxlbind.h) which ca
Andre Arpin writes:
>
> Andre
>
This previous message is redundant an was sent because the previous one did no
appear within 24 hrs. Sorry for the noise.
Andre
--
Come build with us! The BlackBerry® Developer Confer
John Labenski writes:
>
> wxLua 2.8.10 introduced multiple inheritance in the C++ bindings which
> wxWidgets uses for the wxComboBox, wxChoice, and wxBitmapComboBox
> classes. However, I was not aware that C++ compilers shift the vtable
> of the second and higher base classes and therefore if yo
On Sat, Sep 26, 2009 at 9:00 AM, Andre Arpin wrote:
> John Labenski writes:
>
> Maybe I do not understand the problem but here is my suggestion.
> Why not use dynamic cast since you seem to know which class.
> C casting is a brute force method.
We only know the class type at runtime, but dynamic
John Labenski writes:
>
> wxLua 2.8.10 introduced multiple inheritance in the C++ bindings which
> wxWidgets uses for the wxComboBox, wxChoice, and wxBitmapComboBox
> classes. However, I was not aware that C++ compilers shift the vtable
> of the second and higher base classes and therefore if yo
wxLua 2.8.10 introduced multiple inheritance in the C++ bindings which
wxWidgets uses for the wxComboBox, wxChoice, and wxBitmapComboBox
classes. However, I was not aware that C++ compilers shift the vtable
of the second and higher base classes and therefore if you directly
cast a void* pointer to