Mercurial > mercurial > hgweb_mpos.cgi
view myframe.h @ 1:254045a265e0 default tip
Fix Makefile.
author | pyon@macmini |
---|---|
date | Fri, 25 Apr 2014 06:02:21 +0900 |
parents | 6235b9a84d53 |
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__