Docviewdemo in wxpython 4+


I’m not sure if this is maybe a newbie issue but nevertheless, I created a GUI a long time ago using wxpython 2.8. I used this example:

to get started. However this example does not work in wxpython 4+.
All I get when running this example in wxpython 4.1 is the parent frame and a stream of

TypeError: ProcessEvent() takes exactly 1 argument (2 given)

Does anyone have a similar working example for wxpython 4.1?

Many thanks in advance!