comparison include/delwhite.h @ 2:1ea4f7981ff5

create window.
author pyon@macmini
date Sun, 02 Oct 2011 18:44:03 +0900
parents
children a5bddd859104
comparison
equal deleted inserted replaced
1:214f2908b8e4 2:1ea4f7981ff5
1 // Filename : delwhite.h
2 // Last Change: 02-Oct-2011.
3 //
4 #ifndef __DELWHITE__
5 #define __DEWHITEL__
6
7 #include "common.h"
8
9 #include <wx/string.h>
10 #include <wx/stattext.h>
11 #include <wx/image.h>
12 #include <wx/imaglist.h>
13 #include <wx/sizer.h>
14 #include <wx/textctrl.h>
15 #include <wx/frame.h>
16 #include <wx/listctrl.h>
17 #include <wx/checkbox.h>
18
19 ///////////////////////////////////////////////////////////////////////////////
20 /// Class FrameDelWhite
21 ///////////////////////////////////////////////////////////////////////////////
22 class FrameDelWhite : public wxFrame
23 {
24 DECLARE_EVENT_TABLE()
25 private:
26 wxImageList* m_imageList;
27 wxListItem* m_listItem;
28
29 protected:
30 wxListCtrl* m_listCtrl;
31 wxCheckBox* m_checkBox;
32 wxStaticText* m_staticText;
33 wxButton* m_buttonDelWhite;
34 wxButton* m_buttonCancel;
35
36 public:
37 wxString m_dir;
38
39 public:
40 FrameDelWhite( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxEmptyString, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = wxCAPTION|wxFRAME_NO_TASKBAR|wxMAXIMIZE_BOX|wxRESIZE_BORDER|wxTAB_TRAVERSAL );
41 ~FrameDelWhite();
42
43 void DeleteImage(wxCommandEvent&);
44 void CloseFrame(wxCommandEvent&);
45 void LoadImages(void);
46 };
47
48 #endif //__DELWHITE__
49