]> git.saurik.com Git - wxWidgets.git/blobdiff - src/xrc/xh_grid.cpp
Rename delegates to try and stop name clashes, probably with wxWebKitCtrl.
[wxWidgets.git] / src / xrc / xh_grid.cpp
index a5cea99ad762650119dee05708cb8393171a612a..b2d570c6da731e7cb08912d384e493b541b691c5 100644 (file)
@@ -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