X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Ftools%2Fdcpomatic_editor.cc;h=8e306551f970bc6790606a6795cef8d52f59ba9f;hb=963c7649da903b87637975e8c2d634da887d3109;hp=075cf177f091bea364a9424162818f0903dccae4;hpb=f37c1e40dcd5186c5aee95a4b0e6607c1b0045e4;p=dcpomatic.git diff --git a/src/tools/dcpomatic_editor.cc b/src/tools/dcpomatic_editor.cc index 075cf177f..8e306551f 100644 --- a/src/tools/dcpomatic_editor.cc +++ b/src/tools/dcpomatic_editor.cc @@ -23,10 +23,10 @@ #include "wx/editable_list.h" #include "wx/wx_signal_manager.h" #include "wx/wx_util.h" +#include "lib/constants.h" #include "lib/cross.h" #include "lib/dcpomatic_log.h" #include "lib/null_log.h" -#include "lib/util.h" #include #include #include @@ -221,7 +221,7 @@ public: [](shared_ptr reel, int) { return reel->id(); }, - false, + EditableListTitle::INVISIBLE, EditableListButton::EDIT ); sizer->Add(_reels, wxGBPosition(r, 1), wxDefaultSpan, wxEXPAND); @@ -431,7 +431,7 @@ private: bool OnInit () override { - wxSplashScreen* splash = nullptr; + wx_ptr splash; try { wxInitAllImageHandlers ();