#ifndef GENERATEDIALOG_H #define GENERATEDIALOG_H #include #include #include #include #include #include "wxUI.h" #include class wxUI; class KissCount; class GenerateDialog : public wxDialog { public: GenerateDialog(KissCount* kiss, wxUI *parent, int month, int year); void OnYearFromChange(wxCommandEvent& event); void OnYearToChange(wxCommandEvent& event); void OnOK(wxCommandEvent& event); void OnCancel(wxCommandEvent& event); private: KissCount* _kiss; wxUI* _wxUI; wxChoice* _yearFrom, *_monthFrom, *_yearTo, *_monthTo; std::map > _ops; DECLARE_EVENT_TABLE(); }; #endif