On 28 Giu, 14:41, "massimo s." <[EMAIL PROTECTED]> wrote:

> The new-style behaviour only appears when wxFrame is plugged with the
> current hack.
> That is:
>
> - print type(self) in wxFrame alone returns <type 'instance'>
> - print type(self) in the plugged (multiply inherited) wxFrame returns
> < class '__main__.MainWindowPlugged'>
>
> So the problem is that I acquire a new style behaviour somewhere!

Forget this one, it is wrong (Don't know how did I obtain it).
I rechecked and, yes, problem is that cmd.Cmd is old-style (and the
plugin hack works) while wxFrame is new style (and the plugin hack
works no more).

Again: using a new-style plugin class for multiple inheritance does
not work.
What can I do now?

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to