//----------------------------------------------------------------------------
// wxSearchCtrl
// extracted from srchctrl.tex
//----------------------------------------------------------------------------
#ifndef __OBJECT_WX_SEARCHCTRL_H__
#define __OBJECT_WX_SEARCHCTRL_H__

Gura_BeginModule(wx)

//----------------------------------------------------------------------------
// Class declaration for wxSearchCtrl
//----------------------------------------------------------------------------
Gura_DeclareUserClass(wx_SearchCtrl);

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

}}

#endif
