1 ///////////////////////////////////////////////////////////////////////////////
2 // Name: wx/xrc/xh_editlbox.h
3 // Purpose: declaration of wxEditableListBox XRC handler
4 // Author: Vadim Zeitlin
7 // Copyright: (c) 2009 Vadim Zeitlin <vadim@wxwidgets.org>
8 // Licence: wxWindows licence
9 ///////////////////////////////////////////////////////////////////////////////
11 #ifndef _WX_XRC_XH_EDITLBOX_H_
12 #define _WX_XRC_XH_EDITLBOX_H_
14 #include "wx/xrc/xmlres.h"
16 #if wxUSE_XRC && wxUSE_EDITABLELISTBOX
18 // ----------------------------------------------------------------------------
19 // wxEditableListBoxXmlHandler: XRC handler for wxEditableListBox
20 // ----------------------------------------------------------------------------
22 class WXDLLIMPEXP_XRC wxEditableListBoxXmlHandler
: public wxXmlResourceHandler
25 wxEditableListBoxXmlHandler();
27 virtual wxObject
*DoCreateResource();
28 virtual bool CanHandle(wxXmlNode
*node
);
32 wxArrayString m_items
;
34 DECLARE_DYNAMIC_CLASS(wxEditableListBoxXmlHandler
)
37 #endif // wxUSE_XRC && wxUSE_EDITABLELISTBOX
39 #endif // _WX_XRC_XH_EDITLBOX_H_