1 ///////////////////////////////////////////////////////////////////////////////
2 // Name: wx/xrc/xh_editlbox.h
3 // Purpose: declaration of wxEditableListBox XRC handler
4 // Author: Vadim Zeitlin
6 // Copyright: (c) 2009 Vadim Zeitlin <vadim@wxwidgets.org>
7 // Licence: wxWindows licence
8 ///////////////////////////////////////////////////////////////////////////////
10 #ifndef _WX_XRC_XH_EDITLBOX_H_
11 #define _WX_XRC_XH_EDITLBOX_H_
13 #include "wx/xrc/xmlres.h"
15 #if wxUSE_XRC && wxUSE_EDITABLELISTBOX
17 // ----------------------------------------------------------------------------
18 // wxEditableListBoxXmlHandler: XRC handler for wxEditableListBox
19 // ----------------------------------------------------------------------------
21 class WXDLLIMPEXP_XRC wxEditableListBoxXmlHandler
: public wxXmlResourceHandler
24 wxEditableListBoxXmlHandler();
26 virtual wxObject
*DoCreateResource();
27 virtual bool CanHandle(wxXmlNode
*node
);
31 wxArrayString m_items
;
33 DECLARE_DYNAMIC_CLASS(wxEditableListBoxXmlHandler
)
36 #endif // wxUSE_XRC && wxUSE_EDITABLELISTBOX
38 #endif // _WX_XRC_XH_EDITLBOX_H_