]> git.saurik.com Git - wxWidgets.git/blame - include/wx/xrc/xh_tglbtn.h
Fix wxPropertyGrid::GetPropertyRect when the last item is collapsed.
[wxWidgets.git] / include / wx / xrc / xh_tglbtn.h
CommitLineData
870d9dd5 1/////////////////////////////////////////////////////////////////////////////
e8a793f0 2// Name: wx/xrc/xh_tglbtn.h
870d9dd5
JS
3// Purpose: XML resource handler for wxToggleButton
4// Author: Julian Smart
5// Created: 2004-08-30
870d9dd5
JS
6// Copyright: (c) 2004 Julian Smart
7// Licence: wxWindows licence
8/////////////////////////////////////////////////////////////////////////////
9
10#ifndef _WX_XH_TGLBTN_H_
11#define _WX_XH_TGLBTN_H_
12
870d9dd5 13#include "wx/xrc/xmlres.h"
870d9dd5 14
dd47af27 15#if wxUSE_XRC && wxUSE_TOGGLEBTN
870d9dd5
JS
16
17class WXDLLIMPEXP_XRC wxToggleButtonXmlHandler : public wxXmlResourceHandler
18{
dd47af27
VZ
19 DECLARE_DYNAMIC_CLASS(wxToggleButtonXmlHandler)
20
870d9dd5
JS
21public:
22 wxToggleButtonXmlHandler();
23 virtual wxObject *DoCreateResource();
24 virtual bool CanHandle(wxXmlNode *node);
3f6e622f
RR
25
26protected:
27 virtual void DoCreateToggleButton(wxObject *control);
bd362275 28#if !defined(__WXUNIVERSAL__) && !defined(__WXMOTIF__) && !defined(__WXPM__) && !(defined(__WXGTK__) && !defined(__WXGTK20__))
3f6e622f 29 virtual void DoCreateBitmapToggleButton(wxObject *control);
9015d579 30#endif
870d9dd5
JS
31};
32
dd47af27 33#endif // wxUSE_XRC && wxUSE_TOGGLEBTN
870d9dd5
JS
34
35#endif // _WX_XH_TGLBTN_H_