]> git.saurik.com Git - wxWidgets.git/blob - include/wx/xrc/xh_editlbox.h
Applied rowspan patch #15276 (dghart)
[wxWidgets.git] / include / wx / xrc / xh_editlbox.h
1 ///////////////////////////////////////////////////////////////////////////////
2 // Name: wx/xrc/xh_editlbox.h
3 // Purpose: declaration of wxEditableListBox XRC handler
4 // Author: Vadim Zeitlin
5 // Created: 2009-06-04
6 // RCS-ID: $Id$
7 // Copyright: (c) 2009 Vadim Zeitlin <vadim@wxwidgets.org>
8 // Licence: wxWindows licence
9 ///////////////////////////////////////////////////////////////////////////////
10
11 #ifndef _WX_XRC_XH_EDITLBOX_H_
12 #define _WX_XRC_XH_EDITLBOX_H_
13
14 #include "wx/xrc/xmlres.h"
15
16 #if wxUSE_XRC && wxUSE_EDITABLELISTBOX
17
18 // ----------------------------------------------------------------------------
19 // wxEditableListBoxXmlHandler: XRC handler for wxEditableListBox
20 // ----------------------------------------------------------------------------
21
22 class WXDLLIMPEXP_XRC wxEditableListBoxXmlHandler : public wxXmlResourceHandler
23 {
24 public:
25 wxEditableListBoxXmlHandler();
26
27 virtual wxObject *DoCreateResource();
28 virtual bool CanHandle(wxXmlNode *node);
29
30 private:
31 bool m_insideBox;
32 wxArrayString m_items;
33
34 DECLARE_DYNAMIC_CLASS(wxEditableListBoxXmlHandler)
35 };
36
37 #endif // wxUSE_XRC && wxUSE_EDITABLELISTBOX
38
39 #endif // _WX_XRC_XH_EDITLBOX_H_
40