If you create a BWindow
-derived
class that uses multiple inheritance,
make sure the first class your mixin class inherits from is
BWindow
;
otherwise, you'll crash when you try to close the window. This happens
because of an interaction between the window thread how C++ deletes
objects of a multiply-inherited class. In other words:
classmyClass
: publicBWindow
, publicOtherClass
is safe, while
classmyClass
: publicOtherClass
, publicBWindow
is not.