Mercurial > mercurial > hgweb_mpos.cgi
view myframe.h @ 0:6235b9a84d53
First Release.
author | pyon@macmini |
---|---|
date | Mon, 21 Apr 2014 20:44:57 +0900 |
parents | |
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/textctrl.h> #include <wx/gdicmn.h> #include <wx/font.h> #include <wx/colour.h> #include <wx/settings.h> #include <wx/button.h> #include <wx/sizer.h> #include <wx/frame.h> class MyFrame : public wxFrame { DECLARE_EVENT_TABLE() private: protected: wxTextCtrl* m_textCtrlPos; wxButton* m_buttonRec; wxTextCtrl* m_textCtrlRec; public: MyFrame( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxT("Mouse Position"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 200,200 ), long style = wxDEFAULT_FRAME_STYLE|wxTAB_TRAVERSAL ); ~MyFrame(); void OnWinMove( wxMoveEvent& WXUNUSED(event) ); void OnRec( wxCommandEvent& WXUNUSED(event) ); }; enum { ID_REC = wxID_HIGHEST + 1, }; #endif //__MYFRAME_H__