//----------------------------------------------------------------------------
// wxMiniFrame
// extracted from minifram.tex
//----------------------------------------------------------------------------
#ifndef __OBJECT_WX_MINIFRAME_H__
#define __OBJECT_WX_MINIFRAME_H__

Gura_BeginModule(wx)

//----------------------------------------------------------------------------
// Class declaration for wxMiniFrame
//----------------------------------------------------------------------------
Gura_DeclareUserClass(wx_MiniFrame);

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

}}

#endif
