//----------------------------------------------------------------------------
// wxPrinterDC
// extracted from print.tex
//----------------------------------------------------------------------------
#ifndef __OBJECT_WX_PRINTERDC_H__
#define __OBJECT_WX_PRINTERDC_H__

Gura_BeginModule(wx)

//----------------------------------------------------------------------------
// Class declaration for wxPrinterDC
//----------------------------------------------------------------------------
Gura_DeclareUserClass(wx_PrinterDC);

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

}}

#endif
