On 03/31/2012 10:05 AM, Andrej Mitrovic wrote:
This is related to wrapping wxWidgets.

One issue with the new wxWidgets 2.9.x series is that there seem to be
more multiply-inherited classes than before

As Jacob already said mixin templates and Interfaces are the way to go.
I think you have to define the mixin template as
*mixin* template mixin_name.

interface Baz
{}

mixin template Baz()
{
        // In case that you need to access the parent class
        alias typeof(this) ThisClass;
}

class Bar
{}

class Foo : Bar , Baz
{
        mixin Baz;
}

Good to know that you are still develop the wxWidget bindings. Keep us informed.

Reply via email to