diff options
| author | Carl Hetherington <cth@carlh.net> | 2018-09-11 01:25:16 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2018-09-11 11:58:15 +0100 |
| commit | c370a1f38215f6461cf4366e6885757e7aa2b96a (patch) | |
| tree | 6d660895988652297260c2434115b903032bc60d /src/wx/film_editor.cc | |
| parent | 23b60bec13fa8f0b88c34922a169aa0084d99476 (diff) | |
Separate out management of controls.
Diffstat (limited to 'src/wx/film_editor.cc')
| -rw-r--r-- | src/wx/film_editor.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/wx/film_editor.cc b/src/wx/film_editor.cc index 965497234..34aad9078 100644 --- a/src/wx/film_editor.cc +++ b/src/wx/film_editor.cc @@ -39,9 +39,10 @@ using std::cout; using std::string; using std::list; using boost::shared_ptr; +using boost::weak_ptr; using boost::optional; -FilmEditor::FilmEditor (wxWindow* parent, ControlFilmViewer* viewer) +FilmEditor::FilmEditor (wxWindow* parent, weak_ptr<FilmViewer> viewer) : wxPanel (parent) { wxBoxSizer* s = new wxBoxSizer (wxVERTICAL); |
