summaryrefslogtreecommitdiff
path: root/src/wx/film_editor.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2020-08-07 21:37:35 +0200
committerCarl Hetherington <cth@carlh.net>2020-08-07 21:37:35 +0200
commit563fc75855b9649cf135cf137cc1b0c43ebc8286 (patch)
treefc9862a10f052725b6bd1a1af0101b167c19891b /src/wx/film_editor.h
parentec65767c7b1b8439b2b1414998db9c1f4048c1de (diff)
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.
Diffstat (limited to 'src/wx/film_editor.h')
-rw-r--r--src/wx/film_editor.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/wx/film_editor.h b/src/wx/film_editor.h
index 84a1d361b..0e61f4898 100644
--- a/src/wx/film_editor.h
+++ b/src/wx/film_editor.h
@@ -44,6 +44,7 @@ public:
FilmEditor (wxWindow *, boost::weak_ptr<FilmViewer> viewer);
void set_film (boost::shared_ptr<Film>);
+ void first_shown ();
boost::signals2::signal<void (boost::filesystem::path)> FileChanged;
boost::signals2::signal<void (void)> SelectionChanged;