]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/gridctrl.cpp
changed Refresh to take Rect as client coordinates not window coordinates
[wxWidgets.git] / src / generic / gridctrl.cpp
index ddd9793285edccfa34aa6c0a692e0367b160c5ad..12f1c6c6554e3b258d045e695cad362651c05ba6 100644 (file)
@@ -19,6 +19,9 @@
     #pragma hdrstop
 #endif
 
     #pragma hdrstop
 #endif
 
+
+#if wxUSE_GRID || wxUSE_NEW_GRID 
+
 #ifndef WX_PRECOMP
     #include "wx/textctrl.h"
     #include "wx/dc.h"
 #ifndef WX_PRECOMP
     #include "wx/textctrl.h"
     #include "wx/dc.h"
@@ -386,3 +389,4 @@ wxGridCellAutoWrapStringRenderer::GetBestSize(wxGrid& grid,
     return wxSize(width,height);
 }
 
     return wxSize(width,height);
 }
 
+#endif