From: Carl Hetherington Date: Tue, 1 Dec 2020 20:44:32 +0000 (+0100) Subject: Limit video frame rate text control to numbers. X-Git-Tag: v2.15.112~11 X-Git-Url: https://git.carlh.net/gitweb/?a=commitdiff_plain;h=7d5a2d5f585c1c8ed0e645d0190ed3d9fbe21490;hp=f7c43baf9b67505f04bb0954ab6e9e36f88efced;p=dcpomatic.git Limit video frame rate text control to numbers. --- diff --git a/src/wx/content_advanced_dialog.cc b/src/wx/content_advanced_dialog.cc index 9f2a45106..1726579ea 100644 --- a/src/wx/content_advanced_dialog.cc +++ b/src/wx/content_advanced_dialog.cc @@ -31,6 +31,9 @@ #include "lib/image_content.h" #include "lib/video_content.h" #include +DCPOMATIC_DISABLE_WARNINGS +#include +DCPOMATIC_ENABLE_WARNINGS #include @@ -77,7 +80,7 @@ ContentAdvancedDialog::ContentAdvancedDialog (wxWindow* parent, shared_ptrAdd (_video_frame_rate, wxGBPosition(r, 1)); _set_video_frame_rate = new Button (this, _("Set")); _set_video_frame_rate->Enable (false);