Merge master.
[dcpomatic.git] / src / wx / imagemagick_content_dialog.cc
index 24b92fdafee2d5e39339957630551f3d8167fed2..6aa75626059dcc1dd84500c7efddceaceb582fd8 100644 (file)
@@ -23,6 +23,7 @@
 #include "wx_util.h"
 
 using boost::shared_ptr;
+using boost::dynamic_pointer_cast;
 
 ImageMagickContentDialog::ImageMagickContentDialog (wxWindow* parent, shared_ptr<ImageMagickContent> content)
        : wxDialog (parent, wxID_ANY, _("Image"))
@@ -32,12 +33,12 @@ ImageMagickContentDialog::ImageMagickContentDialog (wxWindow* parent, shared_ptr
        grid->AddGrowableCol (1, 1);
 
        {
-               add_label_to_sizer (grid, this, (_("Duration")));
+               add_label_to_sizer (grid, this, _("Duration"), true);
                wxBoxSizer* s = new wxBoxSizer (wxHORIZONTAL);
                _video_length = new wxSpinCtrl (this);
                s->Add (_video_length);
                /// TRANSLATORS: this is an abbreviation for seconds, the unit of time
-               add_label_to_sizer (s, this, _("s"));
+               add_label_to_sizer (s, this, _("s"), false);
                grid->Add (s);
        }