- _whole = new wxRadioButton (this, wxID_ANY, _("Whole film"), wxDefaultPosition, wxDefaultSize, wxRB_GROUP);
- table->Add (_whole, 1);
- table->AddSpacer (0);
-
- _first = new wxRadioButton (this, wxID_ANY, _("First"));
- table->Add (_first);
- {
- wxSizer* s = new wxBoxSizer (wxHORIZONTAL);
- _n_frames = new wxSpinCtrl (this, wxID_ANY);
- s->Add (_n_frames);
- add_label_to_sizer (s, this, "frames");
- table->Add (s);
- }
+ add_label_to_sizer (table, this, "Trim start");
+ _trim_start = new wxSpinCtrl (this, wxID_ANY);
+ table->Add (_trim_start, 1);
+ add_label_to_sizer (table, this, "frames");
+
+ add_label_to_sizer (table, this, "Trim end");
+ _trim_end = new wxSpinCtrl (this, wxID_ANY);
+ table->Add (_trim_end, 1);
+ add_label_to_sizer (table, this, "frames");