//----------------------------------------------------------------------------
// wxStaticLine
// extracted from statline.tex
//----------------------------------------------------------------------------
#ifndef __OBJECT_WX_STATICLINE_H__
#define __OBJECT_WX_STATICLINE_H__

Gura_BeginModule(wx)

//----------------------------------------------------------------------------
// Class declaration for wxStaticLine
//----------------------------------------------------------------------------
Gura_DeclareUserClass(wx_StaticLine);

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

}}

#endif
