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