Fix layout bug where the stuff in the content panel would be completely
authorCarl Hetherington <cth@carlh.net>
Fri, 7 Aug 2020 19:37:35 +0000 (21:37 +0200)
committerCarl Hetherington <cth@carlh.net>
Fri, 7 Aug 2020 19:37:35 +0000 (21:37 +0200)
commit563fc75855b9649cf135cf137cc1b0c43ebc8286
treefc9862a10f052725b6bd1a1af0101b167c19891b
parentec65767c7b1b8439b2b1414998db9c1f4048c1de
Fix layout bug where the stuff in the content panel would be completely
hidden in some cases (seen on Linux only, I think).

wxDisplay::GetFromWindow sometimes returns -1 (perhaps when multiple
monitors are connected) and we have to set the splitter position
in this case.
src/tools/dcpomatic.cc
src/wx/content_panel.cc
src/wx/content_panel.h
src/wx/film_editor.cc
src/wx/film_editor.h