00001
00002
00003
00004 #include <wx/wx.h>
00005 #include <vector>
00006 #include "MyClass.h"
00007
00008 #ifndef _MYSUBJECT_H_
00009 #define _MYSUBJECT_H_
00010
00011 class MySubject : public wxDialog
00012 {
00013 public:
00014 MySubject(wxWindow* parent, const wxString& title,
00015 const wxPoint& pos, const wxSize& size,
00016 std::vector<std::string>* subjects);
00017 void OnNext(wxCommandEvent& event);
00018 void OnHelp(wxCommandEvent& event);
00019 void OnAll(wxCommandEvent& event);
00020 void OnNothing(wxCommandEvent& event);
00021 private:
00022 wxScrolledWindow* window;
00023 wxIcon a;
00024 wxBoxSizer* sizer;
00025 wxBoxSizer* sizer2;
00026 wxBoxSizer* sizer3;
00027 wxButton* next;
00028 wxButton* help;
00029 wxButton* all;
00030 wxButton* nothing;
00031 wxCheckBox** subject_check_boxes;
00032 std::vector<std::string>* subjects;
00033
00034 DECLARE_EVENT_TABLE();
00035 };
00036
00037 #endif // _MYSUBJECT_H_