//----------------------------------------------------------------------------
// wxProgressDialog
// extracted from progdlg.tex
//----------------------------------------------------------------------------
#ifndef __OBJECT_WX_PROGRESSDIALOG_H__
#define __OBJECT_WX_PROGRESSDIALOG_H__

Gura_BeginModule(wx)

//----------------------------------------------------------------------------
// Class declaration for wxProgressDialog
//----------------------------------------------------------------------------
Gura_DeclareUserClass(wx_ProgressDialog);

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

}}

#endif
