/////////////////////////////////////////////////////////////////////////////
-// Name: xh_grid.h
+// Name: src/xrc/xh_grid.cpp
// Purpose: XML resource handler for the grid control
// Author: Agron Selimaj
// Created: 2005/08/11
-// RCS-ID: $Id$
// Copyright: (c) 2005 Agron Selimaj, Freepour Controls Inc.
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#pragma hdrstop
#endif
-#if wxUSE_XRC
+#if wxUSE_XRC && wxUSE_GRID
#include "wx/xrc/xh_grid.h"
#include "wx/grid.h"
IMPLEMENT_DYNAMIC_CLASS(wxGridXmlHandler, wxXmlResourceHandler)
wxGridXmlHandler::wxGridXmlHandler()
-: wxXmlResourceHandler()
+ : wxXmlResourceHandler()
{
AddWindowStyles();
}
return IsOfClass(node, wxT("wxGrid"));
}
-#endif // wxUSE_XRC
+#endif // wxUSE_XRC && wxUSE_GRID