Mercurial > mercurial > hgweb_hanzen.cgi
view myframe.h @ 1:9f0e0d0ae5de default tip
comment fix.
author | pyon@macmini |
---|---|
date | Mon, 21 Apr 2014 20:44:04 +0900 |
parents | 79a92ddc3546 |
children |
line wrap: on
line source
// Filename : myframe.h // Last Change: 21-Apr-2014. // #ifndef __MYFRAME_H__ #define __MYFRAME_H__ #include <wx/artprov.h> #include <wx/xrc/xmlres.h> #include <wx/string.h> #include <wx/button.h> #include <wx/gdicmn.h> #include <wx/font.h> #include <wx/colour.h> #include <wx/settings.h> #include <wx/combobox.h> #include <wx/sizer.h> #include <wx/textctrl.h> #include <wx/clipbrd.h> #include <wx/frame.h> #include <wx/regex.h> class MyFrame : public wxFrame { DECLARE_EVENT_TABLE() private: protected: wxButton* m_buttonPaste; wxComboBox* m_comboBoxDirection; wxButton* m_buttonConvert; wxButton* m_buttonCopy; wxButton* m_buttonClear; wxTextCtrl* m_textCtrl; public: MyFrame( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxT("HanZen"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 500,300 ), long style = wxDEFAULT_FRAME_STYLE|wxTAB_TRAVERSAL ); ~MyFrame(); void OnPaste( wxCommandEvent& WXUNUSED(event) ); void OnConvert( wxCommandEvent& WXUNUSED(event) ); void OnCopy( wxCommandEvent& WXUNUSED(event) ); void OnClear( wxCommandEvent& WXUNUSED(event) ); }; enum { ID_PASTE = wxID_HIGHEST + 1, ID_CONVERT, ID_COPY, ID_CLEAR, }; #endif //__MYFRAME_H__