- _ratio = new wxChoice (this, wxID_ANY);
- grid->Add (_ratio, wxGBPosition (r, 1));
+ _scale = new ContentChoice<VideoContent, VideoContentScale> (
+ this,
+ new wxChoice (this, wxID_ANY),
+ VideoContentProperty::VIDEO_SCALE,
+ boost::mem_fn (&VideoContent::scale),
+ boost::mem_fn (&VideoContent::set_scale),
+ &index_to_scale,
+ &scale_to_index
+ );
+ _scale->add (grid, wxGBPosition (r, 1));