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