X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0e3c83a73630c16f161c96ca3f8206b611676b59..2028c33ab5a39a12bd410ac953731a56ad6377ba:/src/xrc/xh_grid.cpp?ds=sidebyside 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