//----------------------------------------------------------------------------
// wxQueryLayoutInfoEvent
// extracted from qylayevt.tex
//----------------------------------------------------------------------------
#ifndef __OBJECT_WX_QUERYLAYOUTINFOEVENT_H__
#define __OBJECT_WX_QUERYLAYOUTINFOEVENT_H__

Gura_BeginModule(wx)

//----------------------------------------------------------------------------
// Class declaration for wxQueryLayoutInfoEvent
//----------------------------------------------------------------------------
Gura_DeclareUserClass(wx_QueryLayoutInfoEvent);

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

}}

#endif
