diff options
| author | Carl Hetherington <cth@carlh.net> | 2013-07-26 13:04:16 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2013-07-26 13:04:16 +0100 |
| commit | 1dad4c1b2ef0e5dbb1c6da76acb62c8df623c154 (patch) | |
| tree | 5d7f2324ef3db053ae4c5da326e421b29a4aa0bf /src | |
| parent | 16a7ea91e973b327735658857cbf996cc740be77 (diff) | |
Fix complete breakage of main window.
Diffstat (limited to 'src')
| -rw-r--r-- | src/tools/dcpomatic.cc | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/tools/dcpomatic.cc b/src/tools/dcpomatic.cc index 44f707351..884a2238f 100644 --- a/src/tools/dcpomatic.cc +++ b/src/tools/dcpomatic.cc @@ -228,8 +228,6 @@ public: the dark-grey background on Windows. */ wxPanel* overall_panel = new wxPanel (this, wxID_ANY); - wxBoxSizer* overall_sizer = new wxBoxSizer (wxEXPAND); - overall_panel->SetSizer (overall_sizer); film_editor = new FilmEditor (film, overall_panel); film_viewer = new FilmViewer (film, overall_panel); @@ -253,7 +251,7 @@ public: } set_film (); - SetSizer (main_sizer); + overall_panel->SetSizer (main_sizer); } private: |
