Mercurial > mercurial > hgweb_mover.cgi
comparison include/myframe.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 : myframe.h | |
| 2 // Last Change: 02-Oct-2011. | |
| 3 // | |
| 4 #ifndef MYFRAME | |
| 5 #define MYFRAME | |
| 6 #include "wx/wxprec.h" | |
| 7 | |
| 8 #ifndef WX_PRECOMP | |
| 9 #include "wx/wx.h" | |
| 10 #include <wx/icon.h> | |
| 11 #include <wx/menu.h> | |
| 12 #include <wx/string.h> | |
| 13 #include <wx/statusbr.h> | |
| 14 #include "wx/stattext.h" | |
| 15 #include <wx/button.h> | |
| 16 #include "wx/datectrl.h" | |
| 17 #include <wx/dateevt.h> | |
| 18 #include "wx/textctrl.h" | |
| 19 #include "wx/filepicker.h" | |
| 20 #include <wx/listctrl.h> | |
| 21 #include "wx/dir.h" | |
| 22 #include "wx/stdpaths.h" | |
| 23 #include <wx/sizer.h> | |
| 24 #include <wx/combobox.h> | |
| 25 #include <wx/frame.h> | |
| 26 #endif | |
| 27 | |
| 28 | |
| 29 ////////////////////////////////////////////////////////////////////////// | |
| 30 class MyFrame : public wxFrame | |
| 31 { | |
| 32 DECLARE_EVENT_TABLE() | |
| 33 public: | |
| 34 wxMenuBar* m_menubar; | |
| 35 wxMenu* m_menuFile; | |
| 36 wxStatusBar* m_statusBar; | |
| 37 | |
| 38 wxStaticText* m_staticTextWork; | |
| 39 wxDirPickerCtrl* m_dirPickerWork; | |
| 40 wxButton* m_buttonDetWhite; | |
| 41 | |
| 42 wxStaticText* m_staticTextMoveTo; | |
| 43 wxComboBox* m_comboBoxMoveDrive; | |
| 44 wxDatePickerCtrl* m_datePickerCcn; | |
| 45 wxComboBox* m_comboBoxCcn; | |
| 46 wxButton* m_buttonMkDir; | |
| 47 | |
| 48 wxStaticText* m_staticTextDummy; | |
| 49 wxTextCtrl* m_textCtrlMoveDir; | |
| 50 wxButton* m_buttonDoMove; | |
| 51 | |
| 52 wxListCtrl* m_listCtrl; | |
| 53 | |
| 54 MyFrame( wxWindow* parent, wxWindowID id, const wxString& title ); | |
| 55 ~MyFrame(); | |
| 56 | |
| 57 void OnSize( wxSizeEvent& event ); | |
| 58 void OnMove( wxMoveEvent& event ); | |
| 59 void OnQuit( wxCommandEvent& event ); | |
| 60 void OnAbout( wxCommandEvent& event ); | |
| 61 void OnDetectWhite( wxCommandEvent& event ); | |
| 62 void SaveConfig( wxCloseEvent& event ); | |
| 63 void TellLocation( void ); | |
| 64 }; | |
| 65 | |
| 66 #endif | |
| 67 //__MYFRAME__ | |
| 68 |
