//----------------------------------------------------------------------------
// wxRichTextFormattingDialog
// extracted from richtextformattingdialog.tex
//----------------------------------------------------------------------------
#ifndef __OBJECT_WX_RICHTEXTFORMATTINGDIALOG_H__
#define __OBJECT_WX_RICHTEXTFORMATTINGDIALOG_H__

Gura_BeginModule(wx)

//----------------------------------------------------------------------------
// Class declaration for wxRichTextFormattingDialog
//----------------------------------------------------------------------------
Gura_DeclareUserClass(wx_RichTextFormattingDialog);

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

}}

#endif
