00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #include <wx/textctrl.h>
00011
00012
00013 #ifndef __TxtFunzione_
00014 #define __TxtFunzione_
00015 #include "../BasePanel/TBasePanel.h"
00016
00018
00021 class TxtFunzione : public wxTextCtrl
00022 { private:
00023 DECLARE_CLASS(TxtFunzione)
00024 DECLARE_EVENT_TABLE()
00025
00026 public:
00028 TxtFunzione(wxWindow *parent,
00029 const wxWindowID id = -1,
00030 const wxString& value = "",
00031 const wxPoint& pos = wxDefaultPosition,
00032 const wxSize& size = wxDefaultSize,
00033 long style = 0,
00034 const wxValidator& validator = wxDefaultValidator,
00035 const wxString& name = _T("TxtFunzione"),char primocarattere='\0');
00036
00037
00038
00039
00040
00042 void OnPaint(wxPaintEvent& event);
00043
00045 void OnSize(wxSizeEvent& event);
00046
00048 void OnChar(wxKeyEvent& event);
00049
00051 void OnRightDown(wxMouseEvent& event);
00052
00054 void OnLeftDown(wxMouseEvent& event);
00055
00057 void OnLeftUP(wxMouseEvent& event);
00058
00060 void OnMotion(wxMouseEvent& event);
00061
00062
00063 };
00064
00065 #endif
00066
00067
00068