00001 00002 // Name: wxGuiTest/CapturedEvents/CRTreeSelectionChangingEvent.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 SWCRTREESELECTIONCHANGINGEVENT_H 00014 #define SWCRTREESELECTIONCHANGINGEVENT_H 00015 00016 #ifdef __GNUG__ 00017 #pragma interface "CRTreeSelectionChangingEvent.h" 00018 #endif 00019 00020 #include <wxGuiTest/Common.h> 00021 00022 #include "CRAbstractTreeEvent.h" 00023 00024 namespace wxTst { 00025 00026 00033 class CRTreeSelectionChangingEvent : public CRAbstractTreeEvent 00034 { 00035 public: 00041 CRTreeSelectionChangingEvent (wxEvent *event); 00042 00043 00047 virtual ~CRTreeSelectionChangingEvent (); 00048 00049 00056 virtual void Process (CRCapturedEvent **pendingEvt); 00057 00058 00062 virtual void EmitCpp (); 00063 00064 protected: 00065 00066 private: 00067 wxString m_containerName; 00068 wxString m_treeCtrlName; 00069 00070 private: 00071 // No copy and assignment constructor: 00072 CRTreeSelectionChangingEvent (const CRTreeSelectionChangingEvent &rhs); 00073 CRTreeSelectionChangingEvent & operator= (const CRTreeSelectionChangingEvent &rhs); 00074 }; 00075 00076 } // End namespace wxTst 00077 00078 #endif // SWCRTREESELECTIONCHANGINGEVENT_H 00079