2
|
1 // Filename : delwhite.h
|
3
|
2 // Last Change: 03-Oct-2011.
|
2
|
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
|
3
|
43 void UpdateList(wxCommandEvent&);
|
2
|
44 void DeleteImage(wxCommandEvent&);
|
|
45 void CloseFrame(wxCommandEvent&);
|
|
46 void LoadImages(void);
|
|
47 };
|
|
48
|
|
49 #endif //__DELWHITE__
|
|
50
|