00001 #ifndef CONFIGURATIONDIALOG_H 00002 #define CONFIGURATIONDIALOG_H 00003 00004 00005 class ConfigurationDialog: public wxDialog { 00006 public: 00007 00008 enum { 00009 ID_BUTTON_DEFAULT = 1 00010 }; 00011 00012 ConfigurationDialog(wxWindow* parent, int id, const wxString& title, const wxPoint& pos=wxDefaultPosition, const wxSize& size=wxDefaultSize, long style=wxDEFAULT_DIALOG_STYLE); 00013 00014 void OnDefault(wxCommandEvent& event); 00015 private: 00016 void set_properties(); 00017 void do_layout(); 00018 00019 DECLARE_EVENT_TABLE() 00020 protected: 00021 wxStaticText* mpStepLimitLabel; 00022 wxTextCtrl* mpStepLimitCtrl; 00023 wxStaticText* mpInitialSectionLengthLabel; 00024 wxTextCtrl* mpInitialSectionLengthCtrl; 00025 wxStaticText* mpDifferentiationDeltaLabel; 00026 wxTextCtrl* mpDifferentiationDeltaCtrl; 00027 wxButton* mpDefaultButton; 00028 wxButton* mpOkButton; 00029 wxButton* mpCancelButton; 00030 }; 00031 00032 00033 #endif // CONFIGURATIONDIALOG_H