]> git.saurik.com Git - wxWidgets.git/blob - include/wx/xrc/xh_cmdlinkbn.h
Fix wxPropertyGrid::GetPropertyRect when the last item is collapsed.
[wxWidgets.git] / include / wx / xrc / xh_cmdlinkbn.h
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: wx/xrc/xh_cmdlinkbn.h
3 // Purpose: XML resource handler for command link buttons
4 // Author: Kinaou Herve
5 // Created: 2010-10-20
6 // Copyright: (c) 2010 wxWidgets development team
7 // Licence: wxWindows licence
8 /////////////////////////////////////////////////////////////////////////////
9
10 #ifndef _WX_XH_CMDLINKBN_H_
11 #define _WX_XH_CMDLINKBN_H_
12
13 #include "wx/xrc/xmlres.h"
14
15 #if wxUSE_XRC && wxUSE_COMMANDLINKBUTTON
16
17 class WXDLLIMPEXP_XRC wxCommandLinkButtonXmlHandler : public wxXmlResourceHandler
18 {
19 public:
20 wxCommandLinkButtonXmlHandler();
21
22 virtual wxObject *DoCreateResource();
23 virtual bool CanHandle(wxXmlNode *node);
24
25 private:
26 wxDECLARE_DYNAMIC_CLASS(wxCommandLinkButtonXmlHandler);
27 };
28
29 #endif // wxUSE_XRC && wxUSE_COMMANDLINKBUTTON
30
31 #endif // _WX_XH_CMDLINKBN_H_