Fix dumb-assery. Initial axes.
[dcpomatic.git] / src / wx / film_viewer.cc
index 2314a7f24b32fc5755ea85aaab8ffde1b114dc96..96656ce097891ef8d8f6d54aaa59c518e52c9118 100644 (file)
@@ -56,6 +56,11 @@ FilmViewer::FilmViewer (shared_ptr<Film> f, wxWindow* p)
        , _got_frame (false)
        , _clear_required (false)
 {
+       _panel->SetDoubleBuffered (true);
+#if wxMAJOR_VERSION == 2 && wxMINOR_VERSION >= 9
+       _panel->SetBackgroundStyle (wxBG_STYLE_PAINT);
+#endif 
+       
        _v_sizer = new wxBoxSizer (wxVERTICAL);
        SetSizer (_v_sizer);