Cleanup: use ScopeGuard.
[dcpomatic.git] / src / wx / wscript
index 8da9b546cd19b23ed1e7cbc1ed7713050f8ac762..a91ec618995ae9637b83af681ee31a47bf3af320 100644 (file)
@@ -56,6 +56,7 @@ sources = """
           dcp_panel.cc
           dcp_text_track_dialog.cc
           dcpomatic_button.cc
+          dcpomatic_choice.cc
           dcpomatic_spin_ctrl.cc
           dir_picker_ctrl.cc
           disk_warning_dialog.cc
@@ -68,6 +69,7 @@ sources = """
           email_dialog.cc
           export_subtitles_dialog.cc
           export_video_file_dialog.cc
+          extra_kdm_email_dialog.cc
           file_picker_ctrl.cc
           film_editor.cc
           film_name_location_dialog.cc
@@ -94,6 +96,7 @@ sources = """
           kdm_dialog.cc
           kdm_output_panel.cc
           kdm_timing_panel.cc
+          language_subtag_panel.cc
           language_tag_dialog.cc
           language_tag_widget.cc
           kdm_choice.cc
@@ -123,6 +126,8 @@ sources = """
           recipients_panel.cc
           recipient_dialog.cc
           recreate_chain_dialog.cc
+          region_subtag_dialog.cc
+          region_subtag_widget.cc
           repeat_dialog.cc
           report_problem_dialog.cc
           rename_template_dialog.cc
@@ -139,6 +144,7 @@ sources = """
           smpte_metadata_dialog.cc
           standard_controls.cc
           static_text.cc
+          subtag_list_ctrl.cc
           subtitle_appearance_dialog.cc
           suspender.cc
           system_font_dialog.cc
@@ -217,6 +223,7 @@ def configure(conf):
         conf.env.append_value('CXXFLAGS', ['-DGL_GLEXT_PROTOTYPES', '-DGLX_GLXEXT_PROTOTYPES'])
     if conf.env.TARGET_WINDOWS_64 or conf.env.TARGET_WINDOWS_32:
         conf.env.append_value('CXXFLAGS', ['-DWGL_WGLEXT_PROTOTYPES'])
+    conf.env.append_value('CXXFLAGS', ['-DwxNO_UNSAFE_WXSTRING_CONV'])
 
     if conf.options.static_wxwidgets:
         # wx-config returns its static libraries as full paths, without -l prefixes, which confuses