| 41 | 1 /* Filename   : porori.h | 
|  | 2    Last Change: 2020-02-12  15:55:27. | 
|  | 3                      by Takayuki Mutoh | 
|  | 4 */ | 
|  | 5 | 
|  | 6 #pragma once | 
|  | 7 | 
|  | 8 #include <wx/artprov.h> | 
|  | 9 #include <wx/xrc/xmlres.h> | 
|  | 10 #include <wx/datectrl.h> | 
|  | 11 #include <wx/dateevt.h> | 
|  | 12 #include <wx/gdicmn.h> | 
|  | 13 #include <wx/font.h> | 
|  | 14 #include <wx/colour.h> | 
|  | 15 #include <wx/settings.h> | 
|  | 16 #include <wx/string.h> | 
|  | 17 #include <wx/stattext.h> | 
|  | 18 #include <wx/bitmap.h> | 
|  | 19 #include <wx/image.h> | 
|  | 20 #include <wx/icon.h> | 
|  | 21 #include <wx/button.h> | 
|  | 22 #include <wx/sizer.h> | 
|  | 23 #include <wx/frame.h> | 
|  | 24 #include <wx/textfile.h> | 
|  | 25 | 
|  | 26 class PororiFrame : public wxFrame | 
|  | 27 { | 
|  | 28 	private: | 
|  | 29 		enum { | 
|  | 30 			ID_PROCESS = 1000 | 
|  | 31 		}; | 
|  | 32 | 
|  | 33 	protected: | 
|  | 34 		wxDatePickerCtrl* m_datePickerFrom; | 
|  | 35 		wxStaticText*     m_staticText; | 
|  | 36 		wxDatePickerCtrl* m_datePickerTo; | 
|  | 37 		wxButton*         m_button; | 
|  | 38 | 
|  | 39 		wxString m_json = wxT("porori.json"); | 
|  | 40 		wxString m_icon = wxT("sample"); | 
|  | 41 | 
|  | 42 		// Virtual event handlers, overide them in your derived class | 
|  | 43 		virtual void OnClick(wxCommandEvent& event); | 
|  | 44 | 
|  | 45 	public: | 
|  | 46 		PororiFrame(wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxT("Porori"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = wxDEFAULT_FRAME_STYLE|wxTAB_TRAVERSAL); | 
|  | 47 		~PororiFrame(); | 
|  | 48 | 
|  | 49 }; | 
|  | 50 |