X-Git-Url: https://git.carlh.net/gitweb/?p=dcpomatic.git;a=blobdiff_plain;f=src%2Fwx%2Fvideo_panel.cc;h=e866c59a7fcdef5f3968c23058e59f724effc229;hp=ff249a7acd386a7f34b6c1258aecb88cae820bd7;hb=439b5d7a315daf2422cb6c995110d628a91d9389;hpb=5e1851863503428293f461895af20f7c99cd7332 diff --git a/src/wx/video_panel.cc b/src/wx/video_panel.cc index ff249a7ac..e866c59a7 100644 --- a/src/wx/video_panel.cc +++ b/src/wx/video_panel.cc @@ -38,8 +38,11 @@ #include "lib/ratio.h" #include "lib/util.h" #include "lib/video_content.h" +#include +LIBDCP_DISABLE_WARNINGS #include #include +LIBDCP_ENABLE_WARNINGS #include #include #include @@ -124,7 +127,7 @@ VideoPanel::create () ); _left_right_link = new wxToggleButton (this, wxID_ANY, wxT(""), wxDefaultPosition, wxSize(link_width, link_height)); - _left_right_link->SetBitmap (wxBitmap(bitmap_path("link"), wxBITMAP_TYPE_PNG)); + _left_right_link->SetBitmap (wxBitmap(bitmap_path("link.png"), wxBITMAP_TYPE_PNG)); _right_crop_label = create_label (this, _("Right"), true); _right_crop = new ContentSpinCtrl ( @@ -149,7 +152,7 @@ VideoPanel::create () ); _top_bottom_link = new wxToggleButton (this, wxID_ANY, wxT(""), wxDefaultPosition, wxSize(link_width, link_height)); - _top_bottom_link->SetBitmap (wxBitmap(bitmap_path("link"), wxBITMAP_TYPE_PNG)); + _top_bottom_link->SetBitmap (wxBitmap(bitmap_path("link.png"), wxBITMAP_TYPE_PNG)); _bottom_crop_label = create_label (this, _("Bottom"), true); _bottom_crop = new ContentSpinCtrl (