guard grid XRC handler by #if wxUSE_GRID
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36278 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user