#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