//----------------------------------------------------------------------------
// wxGridCellStringRenderer
// extracted from gridrend.tex
//----------------------------------------------------------------------------
#ifndef __OBJECT_WX_GRIDCELLSTRINGRENDERER_H__
#define __OBJECT_WX_GRIDCELLSTRINGRENDERER_H__

Gura_BeginModule(wx)

//----------------------------------------------------------------------------
// Class declaration for wxGridCellStringRenderer
//----------------------------------------------------------------------------
Gura_DeclareUserClass(wx_GridCellStringRenderer);

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

}}

#endif
