00001 00002 // Name: wxGuiTest/CapturedEvents/CRChoiceSelectionEvent.h 00003 // Author: Reinhold Fuereder 00004 // Created: 2004 00005 // Copyright: (c) 2005 Reinhold Fuereder 00006 // Modifications: John Ralls, 2007-2008 00007 // Modifications Copyright: (c) 2008 John Ralls 00008 // Licence: wxWindows licence 00009 // 00010 // $Id$ 00012 00013 #ifndef SWCRCHOICESELECTIONEVENT_H 00014 #define SWCRCHOICESELECTIONEVENT_H 00015 00016 #ifdef __GNUG__ 00017 #pragma interface "CRChoiceSelectionEvent.h" 00018 #endif 00019 00020 #include <wxGuiTest/Common.h> 00021 00022 #include "CRCapturedEvent.h" 00023 00024 namespace wxTst { 00025 00026 00030 class CRChoiceSelectionEvent : public CRCapturedEvent 00031 { 00032 public: 00038 CRChoiceSelectionEvent (wxEvent *event); 00039 00040 00044 virtual ~CRChoiceSelectionEvent (); 00045 00046 00053 virtual void Process (CRCapturedEvent **pendingEvt); 00054 00055 00059 virtual void EmitCpp (); 00060 00061 protected: 00062 00063 private: 00064 wxString m_containerName; 00065 wxString m_choiceName; 00066 wxString m_choiceValue; 00067 00068 private: 00069 // No copy and assignment constructor: 00070 CRChoiceSelectionEvent (const CRChoiceSelectionEvent &rhs); 00071 CRChoiceSelectionEvent & operator= (const CRChoiceSelectionEvent &rhs); 00072 }; 00073 00074 } // End namespace wxTst 00075 00076 #endif // SWCRCHOICESELECTIONEVENT_H 00077