00001
00002
00003
00004 #include <wx/wx.h>
00005 #include <vector>
00006 #include "MyTheme.h"
00007
00008 #ifndef _MYCLASS_H_
00009 #define _MYCLASS_H_
00010
00011 class MyClass: public wxDialog
00012 {
00013 public:
00014 MyClass(wxWindow* parent, const wxString& title,
00015 const wxPoint& pos, const wxSize& size,
00016 std::vector<int> classes, std::vector<int>* choices);
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 wxBoxSizer* sizer;
00024 wxBoxSizer* sizer2;
00025 wxBoxSizer* sizer3;
00026 wxButton* next;
00027 wxButton* help;
00028 wxButton* all;
00029 wxButton* nothing;
00030 wxCheckBox** check_boxes;
00031 std::vector<int>* choices;
00032 std::vector<int> classes;
00033 bool checked;
00034
00035 DECLARE_EVENT_TABLE();
00036 };
00037
00038 #endif // _MYCLASS_H_