Testing is on Ubuntu 16.04 and RPi Stretch (built wxPython-4.0.7.post2 fom scratch)
wxPython Overview/Window Layout/Sized Controls
Sized Controls Form Dialog - window close control doesn’t close the demo window. Ok/Cancel does.
Sized Controls Form Dialog with scrolled panel - same as above
Sized Controls Error Dialog - Not possible to close the demo window using any button/control
Sized Controls Grid Layout Demo - Works as expected
Sized Controls Static Box Demo - Works as expected