X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0e3c83a73630c16f161c96ca3f8206b611676b59..6f026b5b63fe7ccb025e84509886f74772b9df13:/src/xrc/xh_grid.cpp diff --git a/src/xrc/xh_grid.cpp b/src/xrc/xh_grid.cpp index a5cea99ad7..74ccf19bcf 100644 --- a/src/xrc/xh_grid.cpp +++ b/src/xrc/xh_grid.cpp @@ -1,9 +1,8 @@ ///////////////////////////////////////////////////////////////////////////// -// 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 ///////////////////////////////////////////////////////////////////////////// @@ -15,7 +14,7 @@ #pragma hdrstop #endif -#if wxUSE_XRC +#if wxUSE_XRC && wxUSE_GRID #include "wx/xrc/xh_grid.h" #include "wx/grid.h" @@ -23,7 +22,7 @@ IMPLEMENT_DYNAMIC_CLASS(wxGridXmlHandler, wxXmlResourceHandler) wxGridXmlHandler::wxGridXmlHandler() -: wxXmlResourceHandler() + : wxXmlResourceHandler() { AddWindowStyles(); } @@ -48,4 +47,4 @@ bool wxGridXmlHandler::CanHandle(wxXmlNode *node) return IsOfClass(node, wxT("wxGrid")); } -#endif // wxUSE_XRC +#endif // wxUSE_XRC && wxUSE_GRID