//----------------------------------------------------------------------------
// wxCalendarCtrl
// extracted from calctrl.tex
//----------------------------------------------------------------------------
#ifndef __OBJECT_WX_CALENDARCTRL_H__
#define __OBJECT_WX_CALENDARCTRL_H__

Gura_BeginModule(wx)

//----------------------------------------------------------------------------
// Class declaration for wxCalendarCtrl
//----------------------------------------------------------------------------
Gura_DeclareUserClass(wx_CalendarCtrl);

//----------------------------------------------------------------------------
// Object declaration for wxCalendarCtrl
//----------------------------------------------------------------------------
class Object_wx_CalendarCtrl : public Object_wx_Control {
public:
	Gura_DeclareObjectAccessor(wx_CalendarCtrl)
public:
	inline Object_wx_CalendarCtrl(wxCalendarCtrl *pEntity, GuraObjectObserver *pObserver, bool ownerFlag) :
				Object_wx_Control(Gura_UserClass(wx_CalendarCtrl), pEntity, pObserver, ownerFlag) {}
	inline Object_wx_CalendarCtrl(Class *pClass, wxCalendarCtrl *pEntity, GuraObjectObserver *pObserver, bool ownerFlag) :
				Object_wx_Control(pClass, pEntity, pObserver, ownerFlag) {}
	virtual ~Object_wx_CalendarCtrl();
	virtual Object *Clone() const;
	virtual String ToString(Signal sig, bool exprFlag);
	inline wxCalendarCtrl *GetEntity() {
		return dynamic_cast<wxCalendarCtrl *>(_pEntity);
	}
	inline wxCalendarCtrl *ReleaseEntity() {
		wxCalendarCtrl *pEntity = GetEntity();
		InvalidateEntity();
		return pEntity;
	}
	inline bool IsInvalid(Signal sig) const {
		if (_pEntity != NULL) return false;
		SetError_InvalidWxObject(sig, "wxCalendarCtrl");
		return true;
	}
public:
	static void OnModuleEntry(Environment &env, Signal sig);
};

}}

#endif
