]> git.saurik.com Git - wxWidgets.git/blob - include/wx/xrc/xh_grid.h
guard grid XRC handler by #if wxUSE_GRID
[wxWidgets.git] / include / wx / xrc / xh_grid.h
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: wx/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 && wxUSE_GRID
21
22 class WXDLLIMPEXP_XRC wxGridXmlHandler : public wxXmlResourceHandler
23 {
24 public:
25 wxGridXmlHandler();
26
27 virtual wxObject *DoCreateResource();
28 virtual bool CanHandle(wxXmlNode *node);
29
30 private:
31 DECLARE_DYNAMIC_CLASS(wxGridXmlHandler)
32 };
33
34 #endif // wxUSE_XRC && wxUSE_GRID
35
36 #endif // _WX_XH_GRD_H_