00001 00002 // Name: wxGuiTest/CapturedEvents/CRNotebookPageChangeEvent.h 00003 // Author: Reinhold Fuereder 00004 // Created: 2004 00005 // Copyright: (c) 2005 Reinhold Fuereder 00006 // Licence: wxWindows licence 00007 // 00008 // $Id$ 00010 00011 #ifndef SWCRNOTEBOOKPAGECHANGEEVENT_H 00012 #define SWCRNOTEBOOKPAGECHANGEEVENT_H 00013 00014 #ifdef __GNUG__ 00015 #pragma interface "CRNotebookPageChangeEvent.h" 00016 #endif 00017 00018 #include <wxGuiTest/Common.h> 00019 00020 #include "CRCapturedEvent.h" 00021 00022 namespace wxTst { 00023 00024 00028 class CRNotebookPageChangeEvent : public CRCapturedEvent 00029 { 00030 public: 00036 CRNotebookPageChangeEvent (wxEvent *event); 00037 00038 00042 virtual ~CRNotebookPageChangeEvent (); 00043 00044 00051 virtual bool IsPending () const; 00052 00053 00060 virtual void Process (CRCapturedEvent **pendingEvt); 00061 00062 00066 virtual void EmitCpp (); 00067 00068 protected: 00069 00070 private: 00071 bool m_isFirstAndPending; 00072 wxString m_containerName; 00073 wxString m_notebookName; 00074 wxString m_notebookPageText; 00075 00076 private: 00077 // No copy and assignment constructor: 00078 CRNotebookPageChangeEvent (const CRNotebookPageChangeEvent &rhs); 00079 CRNotebookPageChangeEvent & operator= (const CRNotebookPageChangeEvent &rhs); 00080 }; 00081 00082 } // End namespace wxTst 00083 00084 #endif // SWCRNOTEBOOKPAGECHANGEEVENT_H 00085