-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathxh_webcontrol.h
35 lines (25 loc) · 921 Bytes
/
xh_webcontrol.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
/////////////////////////////////////////////////////////////////////////////
// Name: xh_webcontrol.h
// Purpose: XRC resource handler for wxWebControl
// Author: Ben Morgan
// Licence: wxWindows Licence
/////////////////////////////////////////////////////////////////////////////
#ifndef _WX_XH_WEBCONTROL_H
#define _WX_XH_WEBCONTROL_H
#include "wx/xrc/xmlres.h"
//
// XML resource handler for the wxWebControl class in wxContrib.
//
class wxWebControlXmlHandler : public wxXmlResourceHandler
{
public:
// Constructor.
wxWebControlXmlHandler();
// Creates the control and returns a pointer to it.
virtual wxObject *DoCreateResource();
// Returns true if we know how to create a control for the given node.
virtual bool CanHandle(wxXmlNode *node);
// Register with wxWindows' dynamic class subsystem.
DECLARE_DYNAMIC_CLASS(wxWebControlXmlHandler)
};
#endif