X-Git-Url: https://git.carlh.net/gitweb/?p=dcpomatic.git;a=blobdiff_plain;f=src%2Fwx%2Fcontent_properties_dialog.cc;h=efc0e6ef15ae9069182ba0a45a6ac26860a1df17;hp=2f4e1a48bcadf6f0bbf242e717b30a6313d9b6c2;hb=9c1bb2e5ca7c80c4e26b1b2e41159aa171360a94;hpb=cac2b6f2c8dffcb7271d71fc23c0150c2fe4d6ea diff --git a/src/wx/content_properties_dialog.cc b/src/wx/content_properties_dialog.cc index 2f4e1a48b..efc0e6ef1 100644 --- a/src/wx/content_properties_dialog.cc +++ b/src/wx/content_properties_dialog.cc @@ -1,5 +1,5 @@ /* - Copyright (C) 2015 Carl Hetherington + Copyright (C) 2015-2018 Carl Hetherington This file is part of DCP-o-matic. @@ -20,6 +20,7 @@ #include "content_properties_dialog.h" #include "wx_util.h" +#include "static_text.h" #include "lib/content.h" #include "lib/video_content.h" #include "lib/audio_content.h" @@ -80,7 +81,7 @@ ContentPropertiesDialog::maybe_add_group (mapSetFont (font); @@ -92,6 +93,6 @@ ContentPropertiesDialog::maybe_add_group (mapsecond) { add (std_to_wx (j.key), true); - add (new wxStaticText (this, wxID_ANY, std_to_wx (j.value + " " + j.unit))); + add (new StaticText (this, std_to_wx (j.value + " " + j.unit))); } }