]> git.saurik.com Git - wxWidgets.git/blob - include/wx/xrc/xh_grid.h
Applied patch [ 1308152 ] wxGrid XRC handler patch HEAD
[wxWidgets.git] / include / wx / xrc / xh_grid.h
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: xh_grid.h
3 // Purpose: XML resource handler for the grid control
4 // Author: Agron Selimaj
5 // Created: 2005/08/11
6 // RCS-ID: $Id$
7 // Copyright: (c) 2005 Agron Selimaj, Freepour Controls Inc.
8 // Licence: wxWindows licence
9 /////////////////////////////////////////////////////////////////////////////
10
11 #ifndef _WX_XH_GRD_H_
12 #define _WX_XH_GRD_H_
13
14 #if defined(__GNUG__) && !defined(__APPLE__)
15 #pragma interface "xh_grid.cpp"
16 #endif
17
18 #include "wx/xrc/xmlres.h"
19
20 #if wxUSE_XRC
21
22 class WXDLLIMPEXP_XRC wxGridXmlHandler : public wxXmlResourceHandler
23 {
24 DECLARE_DYNAMIC_CLASS(wxGridXmlHandler)
25 public:
26 wxGridXmlHandler();
27 virtual wxObject *DoCreateResource();
28 virtual bool CanHandle(wxXmlNode *node);
29 };
30
31 #endif // wxUSE_XRC
32
33
34 #endif // _WX_XH_GRD_H_