]> git.saurik.com Git - wxWidgets.git/blob - include/wx/xrc/xh_cmdlinkbn.h
3dbf6ba5a11152225cdba8d130e00295bdea1161
[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 // RCS-ID: $Id:$
7 // Copyright: (c) 2010 wxWidgets development team
8 // Licence: wxWindows licence
9 /////////////////////////////////////////////////////////////////////////////
10
11 #ifndef _WX_XH_CMDLINKBN_H_
12 #define _WX_XH_CMDLINKBN_H_
13
14 #include "wx/xrc/xmlres.h"
15
16 #if wxUSE_XRC && wxUSE_COMMANDLINKBUTTON
17
18 class WXDLLIMPEXP_XRC wxCommandLinkButtonXmlHandler : public wxXmlResourceHandler
19 {
20 public:
21 wxCommandLinkButtonXmlHandler();
22
23 virtual wxObject *DoCreateResource();
24 virtual bool CanHandle(wxXmlNode *node);
25
26 private:
27 wxDECLARE_DYNAMIC_CLASS(wxCommandLinkButtonXmlHandler);
28 };
29
30 #endif // wxUSE_XRC && wxUSE_COMMANDLINKBUTTON
31
32 #endif // _WX_XH_CMDLINKBN_H_