X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fwx%2Ffull_language_tag_dialog.cc;h=19e52ff140eb813f758fb6bfbdc52be1e52c3adc;hb=b9a1ad3df5f9d85fb7439efd93fede72b9b078af;hp=a26dcc0bb81a2862ca77a2d612292e6d37effa1f;hpb=bb9a4a46266f705142a8aca41a092445a02debf0;p=dcpomatic.git diff --git a/src/wx/full_language_tag_dialog.cc b/src/wx/full_language_tag_dialog.cc index a26dcc0bb..19e52ff14 100644 --- a/src/wx/full_language_tag_dialog.cc +++ b/src/wx/full_language_tag_dialog.cc @@ -19,17 +19,19 @@ */ -#include "lib/dcpomatic_assert.h" #include "full_language_tag_dialog.h" +#include "lib/dcpomatic_assert.h" +#include "lib/warnings.h" #include +DCPOMATIC_DISABLE_WARNINGS #include #include #include +DCPOMATIC_ENABLE_WARNINGS #include #include #include #include -#include #include #include #include @@ -37,11 +39,11 @@ using std::min; using std::pair; +using std::shared_ptr; using std::string; using std::vector; -using boost::optional; -using std::shared_ptr; using std::weak_ptr; +using boost::optional; #if BOOST_VERSION >= 106100 using namespace boost::placeholders; #endif @@ -111,7 +113,7 @@ public: } private: - wxString OnGetItemText (long item, long column) const + wxString OnGetItemText (long item, long column) const override { if (column == 0) { return _matching_subtags[item].subtag;