X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;ds=inline;f=src%2Fwx%2Fscreen_dialog.h;h=0cd7d3c4963f77da9ab7eb0f0bcb7b1cc073d1f2;hb=1629bd7df2150156109afbc7a16677cb29e82adf;hp=1bd4a89a92cb976002ac735bd3371b1be26d579f;hpb=089b90439e745a218494e76b45e7df6215af01df;p=dcpomatic.git diff --git a/src/wx/screen_dialog.h b/src/wx/screen_dialog.h index 1bd4a89a9..0cd7d3c49 100644 --- a/src/wx/screen_dialog.h +++ b/src/wx/screen_dialog.h @@ -19,22 +19,23 @@ #include #include -#include +#include class ScreenDialog : public wxDialog { public: - ScreenDialog (wxWindow *, std::string, std::string name = "", boost::shared_ptr c = boost::shared_ptr ()); + ScreenDialog (wxWindow *, std::string, std::string name = "", boost::shared_ptr c = boost::shared_ptr ()); std::string name () const; - boost::shared_ptr certificate () const; + boost::shared_ptr certificate () const; private: - void load_certificate (wxCommandEvent &); + void load_certificate (); + void setup_sensitivity (); wxTextCtrl* _name; wxButton* _certificate_load; wxTextCtrl* _certificate_text; - boost::shared_ptr _certificate; + boost::shared_ptr _certificate; };