//----------------------------------------------------------------------------
// wxMediaCtrl
// extracted from mediactrl.tex
//----------------------------------------------------------------------------
#ifndef __OBJECT_WX_MEDIACTRL_H__
#define __OBJECT_WX_MEDIACTRL_H__

Gura_BeginModule(wx)

//----------------------------------------------------------------------------
// Class declaration for wxMediaCtrl
//----------------------------------------------------------------------------
Gura_DeclareUserClass(wx_MediaCtrl);

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

}}

#endif
