2
|
1 // Filename : delwhite.h
|
6
|
2 // Last Change: 08-Oct-2011.
|
2
|
3 //
|
|
4 #ifndef __DELWHITE__
|
|
5 #define __DEWHITEL__
|
|
6
|
|
7 #include "common.h"
|
|
8
|
4
|
9 #include "wx/wxprec.h"
|
2
|
10
|
4
|
11 #ifndef WX_PRECOMP
|
|
12 #include <wx/string.h>
|
|
13 #include <wx/stattext.h>
|
|
14 #include <wx/image.h>
|
|
15 #include <wx/imaglist.h>
|
|
16 #include <wx/sizer.h>
|
|
17 #include <wx/textctrl.h>
|
|
18 #include <wx/frame.h>
|
|
19 #include <wx/listctrl.h>
|
|
20 #include <wx/checkbox.h>
|
|
21 #include <wx/utils.h>
|
|
22 #include <wx/dir.h>
|
|
23 #include <wx/file.h>
|
|
24 #endif
|
|
25
|
2
|
26 ///////////////////////////////////////////////////////////////////////////////
|
|
27 /// Class FrameDelWhite
|
|
28 ///////////////////////////////////////////////////////////////////////////////
|
|
29 class FrameDelWhite : public wxFrame
|
|
30 {
|
|
31 DECLARE_EVENT_TABLE()
|
|
32 private:
|
|
33 wxImageList* m_imageList;
|
|
34
|
|
35 protected:
|
|
36 wxListCtrl* m_listCtrl;
|
|
37 wxCheckBox* m_checkBox;
|
|
38 wxStaticText* m_staticText;
|
|
39 wxButton* m_buttonDelWhite;
|
|
40 wxButton* m_buttonCancel;
|
|
41
|
|
42 public:
|
|
43 wxString m_dir;
|
|
44
|
|
45 public:
|
|
46 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 );
|
|
47 ~FrameDelWhite();
|
|
48
|
3
|
49 void UpdateList(wxCommandEvent&);
|
2
|
50 void DeleteImage(wxCommandEvent&);
|
|
51 void CloseFrame(wxCommandEvent&);
|
|
52 void LoadImages(void);
|
|
53 };
|
|
54
|
|
55 #endif //__DELWHITE__
|
|
56
|