00001 00002 // Name: wxGuiTest/CapturedEvents/CRCheckBoxClickEvent.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 SWCRCHECKBOXCLICKEVENT_H 00014 #define SWCRCHECKBOXCLICKEVENT_H 00015 00016 #ifdef __GNUG__ 00017 #pragma interface "CRCheckBoxClickEvent.h" 00018 #endif 00019 00020 #include <wxGuiTest/Common.h> 00021 00022 #include "CRCapturedEvent.h" 00023 00024 namespace wxTst { 00025 00026 00030 class CRCheckBoxClickEvent : public CRCapturedEvent 00031 { 00032 public: 00038 CRCheckBoxClickEvent (wxEvent *event); 00039 00040 00044 virtual ~CRCheckBoxClickEvent (); 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_checkBoxName; 00066 bool m_isChecked; 00067 00068 private: 00069 // No copy and assignment constructor: 00070 CRCheckBoxClickEvent (const CRCheckBoxClickEvent &rhs); 00071 CRCheckBoxClickEvent & operator= (const CRCheckBoxClickEvent &rhs); 00072 }; 00073 00074 } // End namespace wxTst 00075 00076 #endif // SWCRCHECKBOXCLICKEVENT_H 00077