wxGlade version 0.6.7
The XRC code generation for wx.Notebooks fails with the exception "List object is not callable".
The reason behind this exception, if I understood correctly, is in the file
widgets/notebook/codegen.py, inside function
The problem is that the method
write() of class
NotebookXrcObject overwrites the method named
tabs that belongs to one of its superclasses, with a list of... tabs, I guess, taken by
When generating the code, another method of the superclass tries to access the
tabs method, but it finds that list instead, and raises the exception.
Possible solution: inside file
class NotebookXrcObject, inside method
write(self, outfile, ntabs), substitute all occurrences of
This, at least, seems to solve the problem on my system.