diff options
Diffstat (limited to 'src/wx/save_template_dialog.h')
| -rw-r--r-- | src/wx/save_template_dialog.h | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/src/wx/save_template_dialog.h b/src/wx/save_template_dialog.h index 7e4808ca2..101d35ddf 100644 --- a/src/wx/save_template_dialog.h +++ b/src/wx/save_template_dialog.h @@ -18,18 +18,26 @@ */ + #include "table_dialog.h" +class Choice; + + class SaveTemplateDialog : public TableDialog { public: explicit SaveTemplateDialog (wxWindow* parent); - std::string name () const; + boost::optional<std::string> name() const; private: void setup_sensitivity (); void check (wxCommandEvent& ev); - wxTextCtrl* _name; + wxRadioButton* _default; + wxRadioButton* _existing; + Choice* _existing_name; + wxRadioButton* _new; + wxTextCtrl* _new_name; }; |
