> Seeing as I'm new to wxPython (and Python), could someone tell me why this
> override doesn't work?
> def OnSize(self, event):
> wxScrolledWindow.OnSize(self, event) # <------------
The correct way to pass an event up the heirarchy is to call event.Skip().
The fact that wxWindow::OnSize is documented at all is a holdover from
wxWindows 1.x when virtual functions were used instead of events. The fact
that it exists by that name in the C++ version of the class is just
tradition. The reality is that any method could be used to catch the size
event and so the only way to be sure that you are giving it to the right one
is to let the event system do it for you, hence the event.Skip().