Fix build for newer libdcp.
authorCarl Hetherington <cth@carlh.net>
Tue, 20 Mar 2018 09:48:13 +0000 (09:48 +0000)
committerCarl Hetherington <cth@carlh.net>
Tue, 20 Mar 2018 09:48:13 +0000 (09:48 +0000)
src/wx/verify_dcp_dialog.cc

index b1eea0fd253b71aa50a4431b55b0982831cc1768..00fb3bdd62ba725a835d04e926b96e0d77b2288f 100644 (file)
@@ -53,13 +53,13 @@ VerifyDCPDialog::VerifyDCPDialog (wxWindow* parent, list<dcp::VerificationNote>
 
        BOOST_FOREACH (dcp::VerificationNote i, notes) {
                switch (i.type()) {
-               case dcp::VerificationNote::NOTE:
+               case dcp::VerificationNote::VERIFY_NOTE:
                        _text->BeginStandardBullet (N_("standard/circle"), 1, 50);
                        break;
-               case dcp::VerificationNote::WARNING:
+               case dcp::VerificationNote::VERIFY_WARNING:
                        _text->BeginStandardBullet (N_("standard/diamond"), 1, 50);
                        break;
-               case dcp::VerificationNote::ERROR:
+               case dcp::VerificationNote::VERIFY_NOTE:
                        _text->BeginSymbolBullet (N_("!"), 1, 50);
                        break;
                }
@@ -68,11 +68,11 @@ VerifyDCPDialog::VerifyDCPDialog (wxWindow* parent, list<dcp::VerificationNote>
                _text->Newline ();
 
                switch (i.type()) {
-               case dcp::VerificationNote::NOTE:
-               case dcp::VerificationNote::WARNING:
+               case dcp::VerificationNote::VERIFY_NOTE:
+               case dcp::VerificationNote::VERIFY_WARNING:
                        _text->EndStandardBullet ();
                        break;
-               case dcp::VerificationNote::ERROR:
+               case dcp::VerificationNote::VERIFY_ERROR:
                        _text->EndSymbolBullet ();
                        break;
                }