Vlaxicon

choicetool.h

00001 #ifndef __CHOICETOOL__
00002 #define __CHOICETOOL__
00003 #ifndef WX_PRECOMP
00004     #include <wx/wx.h>
00005 #endif //WX_PRECOMP
00006 #include "objectbase.h"
00007 class ChoiceTool:public ObjectBase
00008 {
00009 public:
00013         ChoiceTool(wxWindow* parent, ObjectBaseShape* parentShape);
00014         
00017         wxArrayString GetToolItems();
00018         
00021         void SetToolItems(wxArrayString sItems);
00022         
00025         void SetToolSelection(wxString sSelection);
00026         
00028         void SendCommand();
00029 protected:
00030         enum
00031     {
00032                 ID_CHOICE = wxID_HIGHEST + 1
00033         };
00034         
00036         void OnChoiceClick(wxCommandEvent &event);
00037         wxChoice* m_choice;
00038         
00039 };
00040 #endif //__CHOICETOOL__
 All Classes Functions