On 2012-03-31 19:05, 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. In particular some of the
main classes have become MI classes (e.g. wxApp derives from
wxAppConsole which is now an MI class). Some wrappers (like wx.net)
maintain these classes manually and simply discard MI altogether and
make every class a singly-inherited class. SWIG does a similar thing
too. E.g. in wx.net wxApp on the C# side looks like this:

The first thing that pops up in my mind is using interfaces and template mixins, something like this: http://pastebin.com/jWMKQ6yy

--
/Jacob Carlborg

Reply via email to