X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0e3c83a73630c16f161c96ca3f8206b611676b59..fdf7ff738cb755be0e9e7e1378d8c3073f08f0e1:/src/xrc/xh_grid.cpp diff --git a/src/xrc/xh_grid.cpp b/src/xrc/xh_grid.cpp index a5cea99ad7..e3031ee27f 100644 --- a/src/xrc/xh_grid.cpp +++ b/src/xrc/xh_grid.cpp @@ -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