1 /////////////////////////////////////////////////////////////////////////////
2 // Name: wx/xrc/xh_radbx.h
3 // Purpose: XML resource handler for wxRadioBox
4 // Author: Bob Mitchell
6 // Copyright: (c) 2000 Bob Mitchell and Verant Interactive
7 // Licence: wxWindows licence
8 /////////////////////////////////////////////////////////////////////////////
10 #ifndef _WX_XH_RADBX_H_
11 #define _WX_XH_RADBX_H_
13 #include "wx/xrc/xmlres.h"
15 #if wxUSE_XRC && wxUSE_RADIOBOX
17 class WXDLLIMPEXP_XRC wxRadioBoxXmlHandler
: public wxXmlResourceHandler
19 DECLARE_DYNAMIC_CLASS(wxRadioBoxXmlHandler
)
22 wxRadioBoxXmlHandler();
23 virtual wxObject
*DoCreateResource();
24 virtual bool CanHandle(wxXmlNode
*node
);
30 wxArrayString m_labels
;
34 wxArrayString m_tooltips
;
35 #endif // wxUSE_TOOLTIPS
38 wxArrayString m_helptexts
;
39 wxArrayInt m_helptextSpecified
;
41 // if the corresponding array element is 1, the radiobox item is
43 wxArrayInt m_isEnabled
,
47 #endif // wxUSE_XRC && wxUSE_RADIOBOX
49 #endif // _WX_XH_RADBX_H_