]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/gridg.cpp
toplevel fixes
[wxWidgets.git] / src / generic / gridg.cpp
index cb590108cbf6988ca8d2c6b9bbc1dab649c65b6a..3f28058a1496222d581cf42e55bc20b020b0a110 100644 (file)
@@ -25,6 +25,8 @@
     #pragma hdrstop
 #endif
 
+#if wxUSE_GRID
+
 #ifndef WX_PRECOMP
     #include "wx/utils.h"
     #include "wx/dcclient.h"
@@ -2852,3 +2854,4 @@ void *wxGenericGrid::GetCellData(int row, int col)
     return rc;
 }
 
+#endif // wxUSE_GRID