Mercurial > mercurial > hgweb_mover.cgi
view include/myframe.h @ 2:1ea4f7981ff5
create window.
author | pyon@macmini |
---|---|
date | Sun, 02 Oct 2011 18:44:03 +0900 |
parents | |
children | a5bddd859104 |
line wrap: on
line source
// Filename : myframe.h // Last Change: 02-Oct-2011. // #ifndef MYFRAME #define MYFRAME #include "wx/wxprec.h" #ifndef WX_PRECOMP #include "wx/wx.h" #include <wx/icon.h> #include <wx/menu.h> #include <wx/string.h> #include <wx/statusbr.h> #include "wx/stattext.h" #include <wx/button.h> #include "wx/datectrl.h" #include <wx/dateevt.h> #include "wx/textctrl.h" #include "wx/filepicker.h" #include <wx/listctrl.h> #include "wx/dir.h" #include "wx/stdpaths.h" #include <wx/sizer.h> #include <wx/combobox.h> #include <wx/frame.h> #endif ////////////////////////////////////////////////////////////////////////// class MyFrame : public wxFrame { DECLARE_EVENT_TABLE() public: wxMenuBar* m_menubar; wxMenu* m_menuFile; wxStatusBar* m_statusBar; wxStaticText* m_staticTextWork; wxDirPickerCtrl* m_dirPickerWork; wxButton* m_buttonDetWhite; wxStaticText* m_staticTextMoveTo; wxComboBox* m_comboBoxMoveDrive; wxDatePickerCtrl* m_datePickerCcn; wxComboBox* m_comboBoxCcn; wxButton* m_buttonMkDir; wxStaticText* m_staticTextDummy; wxTextCtrl* m_textCtrlMoveDir; wxButton* m_buttonDoMove; wxListCtrl* m_listCtrl; MyFrame( wxWindow* parent, wxWindowID id, const wxString& title ); ~MyFrame(); void OnSize( wxSizeEvent& event ); void OnMove( wxMoveEvent& event ); void OnQuit( wxCommandEvent& event ); void OnAbout( wxCommandEvent& event ); void OnDetectWhite( wxCommandEvent& event ); void SaveConfig( wxCloseEvent& event ); void TellLocation( void ); }; #endif //__MYFRAME__