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