]> git.saurik.com Git - wxWidgets.git/blob - include/wx/xrc/xh_grid.h
corrected ifdef condition
[wxWidgets.git] / include / wx / xrc / xh_grid.h
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: wx/xrc/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 #include "wx/xrc/xmlres.h"
15
16 #if wxUSE_XRC && wxUSE_GRID
17
18 class WXDLLIMPEXP_XRC wxGridXmlHandler : public wxXmlResourceHandler
19 {
20 public:
21 wxGridXmlHandler();
22
23 virtual wxObject *DoCreateResource();
24 virtual bool CanHandle(wxXmlNode *node);
25
26 private:
27 DECLARE_DYNAMIC_CLASS(wxGridXmlHandler)
28 };
29
30 #endif // wxUSE_XRC && wxUSE_GRID
31
32 #endif // _WX_XH_GRD_H_