]> git.saurik.com Git - wxWidgets.git/blob - include/wx/xrc/xh_htmllbox.h
Fix wxPropertyGrid::GetPropertyRect when the last item is collapsed.
[wxWidgets.git] / include / wx / xrc / xh_htmllbox.h
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: wx/xrc/xh_htmllbox.h
3 // Purpose: XML resource handler for wxSimpleHtmlListBox
4 // Author: Francesco Montorsi
5 // Created: 2006/10/21
6 // Copyright: (c) 2006 Francesco Montorsi
7 // Licence: wxWindows licence
8 /////////////////////////////////////////////////////////////////////////////
9
10 #ifndef _WX_XH_SIMPLEHTMLLISTBOX_H_
11 #define _WX_XH_SIMPLEHTMLLISTBOX_H_
12
13 #include "wx/xrc/xmlres.h"
14
15 #if wxUSE_XRC && wxUSE_HTML
16
17 class WXDLLIMPEXP_XRC wxSimpleHtmlListBoxXmlHandler : public wxXmlResourceHandler
18 {
19 public:
20 wxSimpleHtmlListBoxXmlHandler();
21 virtual wxObject *DoCreateResource();
22 virtual bool CanHandle(wxXmlNode *node);
23
24 private:
25 bool m_insideBox;
26 wxArrayString strList;
27
28 DECLARE_DYNAMIC_CLASS(wxSimpleHtmlListBoxXmlHandler)
29 };
30
31 #endif // wxUSE_XRC && wxUSE_HTML
32
33 #endif // _WX_XH_SIMPLEHTMLLISTBOX_H_