//----------------------------------------------------------------------------
// wxBitmapComboBox
// extracted from bitmapcombobox.tex
//----------------------------------------------------------------------------
#ifndef __OBJECT_WX_BITMAPCOMBOBOX_H__
#define __OBJECT_WX_BITMAPCOMBOBOX_H__

Gura_BeginModule(wx)

//----------------------------------------------------------------------------
// Class declaration for wxBitmapComboBox
//----------------------------------------------------------------------------
Gura_DeclareUserClass(wx_BitmapComboBox);

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

}}

#endif
