00001 #ifndef __PnlFunzione_ 00002 #define __PnlFunzione_ 00003 #include "../BasePanel/TBasePanel.h" 00004 #include "TxtFunzione.h" 00005 00007 00011 class PnlFunzione : public TBasePanel 00012 { 00013 public: 00014 00016 TxtFunzione* funzione; 00017 00019 PnlFunzione(wxWindow* parent, 00020 const wxSize& size = wxDefaultSize, 00021 wxWindowID id = -1, 00022 const wxPoint& pos = wxDefaultPosition, 00023 long style = wxTAB_TRAVERSAL, 00024 const wxString& name ="PnlFunzione",gestione* gpannello=-1,char primocarattere='\0' ); 00025 00027 int GetMinWidth(); 00028 00030 int GetMinHeight(); 00031 private: 00032 DECLARE_EVENT_TABLE() 00033 DECLARE_CLASS(PnlFunzione) 00034 00035 void OnChar(wxKeyEvent& event); 00036 00038 void OnSize(wxSizeEvent& event); 00039 void OnMotion(wxMouseEvent& event); 00040 void OnLeftDown(wxMouseEvent& event); 00041 00042 }; 00043 #endif