]> git.saurik.com Git - wxWidgets.git/blame - include/wx/xrc/xh_radbx.h
Don't define __STRICT_ANSI__, we should build both with and without it.
[wxWidgets.git] / include / wx / xrc / xh_radbx.h
CommitLineData
56d2f750 1/////////////////////////////////////////////////////////////////////////////
e8a793f0 2// Name: wx/xrc/xh_radbx.h
dd47af27 3// Purpose: XML resource handler for wxRadioBox
56d2f750
VS
4// Author: Bob Mitchell
5// Created: 2000/03/21
56d2f750
VS
6// Copyright: (c) 2000 Bob Mitchell and Verant Interactive
7// Licence: wxWindows licence
8/////////////////////////////////////////////////////////////////////////////
9
10#ifndef _WX_XH_RADBX_H_
11#define _WX_XH_RADBX_H_
12
999d9a9f 13#include "wx/xrc/xmlres.h"
56d2f750 14
dd47af27 15#if wxUSE_XRC && wxUSE_RADIOBOX
56d2f750 16
30dc3455 17class WXDLLIMPEXP_XRC wxRadioBoxXmlHandler : public wxXmlResourceHandler
56d2f750 18{
dd47af27
VZ
19 DECLARE_DYNAMIC_CLASS(wxRadioBoxXmlHandler)
20
eb8671f2
VS
21public:
22 wxRadioBoxXmlHandler();
23 virtual wxObject *DoCreateResource();
24 virtual bool CanHandle(wxXmlNode *node);
dd47af27 25
eb8671f2
VS
26private:
27 bool m_insideBox;
d64ad2c7
VZ
28
29 // the items labels
8758875e 30 wxArrayString m_labels;
d64ad2c7 31
8758875e 32#if wxUSE_TOOLTIPS
dc26eeb3 33 // the items tooltips
8758875e
VZ
34 wxArrayString m_tooltips;
35#endif // wxUSE_TOOLTIPS
dc26eeb3 36
e8a793f0 37 // the item help text
8758875e
VZ
38 wxArrayString m_helptexts;
39 wxArrayInt m_helptextSpecified;
40
41 // if the corresponding array element is 1, the radiobox item is
42 // disabled/hidden
43 wxArrayInt m_isEnabled,
44 m_isShown;
56d2f750
VS
45};
46
dd47af27 47#endif // wxUSE_XRC && wxUSE_RADIOBOX
56d2f750
VS
48
49#endif // _WX_XH_RADBX_H_