X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2Fwx%2Frecipients_panel.h;h=6e1f1408ffb6603dd5b821501f5918d1e4bd8dc3;hb=7e6fa2a2d848f81d82d6ae5151b5ef851b4b720a;hp=d224eed1b98251c71c2ae9c8f668ae73118fbcad;hpb=dd9be86db6cde0afa5da0d1d1ac43b42e05dca26;p=dcpomatic.git diff --git a/src/wx/recipients_panel.h b/src/wx/recipients_panel.h index d224eed1b..6e1f1408f 100644 --- a/src/wx/recipients_panel.h +++ b/src/wx/recipients_panel.h @@ -1,5 +1,5 @@ /* - Copyright (C) 2015-2020 Carl Hetherington + Copyright (C) 2015-2021 Carl Hetherington This file is part of DCP-o-matic. @@ -18,19 +18,23 @@ */ + +#include "lib/collator.h" #include "lib/dkdm_recipient.h" -#include "lib/warnings.h" -DCPOMATIC_DISABLE_WARNINGS -#include +#include +LIBDCP_DISABLE_WARNINGS #include #include -DCPOMATIC_ENABLE_WARNINGS +#include +LIBDCP_ENABLE_WARNINGS #include #include #include + class DKDMRecipient; + class RecipientsPanel : public wxPanel { public: @@ -39,7 +43,7 @@ public: void setup_sensitivity (); - std::list > recipients () const; + std::list> recipients () const; boost::signals2::signal RecipientsChanged; private: @@ -59,9 +63,11 @@ private: wxButton* _remove_recipient; wxTreeItemId _root; - typedef std::map > RecipientMap; + typedef std::map> RecipientMap; RecipientMap _recipients; RecipientMap _selected; bool _ignore_selection_change; + + Collator _collator; };