Fix strange layout problems with the content sub panels (#2059).
authorCarl Hetherington <cth@carlh.net>
Thu, 8 Jul 2021 22:30:02 +0000 (00:30 +0200)
committerCarl Hetherington <cth@carlh.net>
Thu, 8 Jul 2021 22:30:02 +0000 (00:30 +0200)
commit8ccbe70f3c2f5db9e88978a98f3ad5735ece07ab
tree13afe8aefd398bff1d87ff09f729ef7bdee05b60
parentcf7b5fd94e50f740ab93f52343610d01c80ac6d5
Fix strange layout problems with the content sub panels (#2059).

It seems that if Layout() is called on a sizer inside a wxScrolledWindow
when that window is scrolled, things go wrong.  Work around this by
wrapping calls to Layout().
src/wx/audio_panel.cc
src/wx/content_sub_panel.cc
src/wx/content_sub_panel.h
src/wx/video_panel.cc