]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/grid.cpp
applied (slightly modified) wxGLApp patch for MSW
[wxWidgets.git] / src / generic / grid.cpp
index ee52b2ab5d3463a802cc4907b802e62cefdf7879..70a8efaf32cdf9dc2829053a8bf1b20c2ddd39ea 100644 (file)
     #pragma hdrstop
 #endif
 
+#if wxUSE_GRID
+
 #if !defined(wxUSE_NEW_GRID) || !(wxUSE_NEW_GRID)
-#include "gridg.cpp"
-#else
+    #include "gridg.cpp"
+#else // wxUSE_NEW_GRID
 
 #ifndef WX_PRECOMP
     #include "wx/utils.h"
@@ -8774,4 +8776,7 @@ wxGridEditorCreatedEvent::wxGridEditorCreatedEvent(int id, wxEventType type,
 }
 
 
-#endif // ifndef wxUSE_NEW_GRID
+#endif // !wxUSE_NEW_GRID/wxUSE_NEW_GRID
+
+#endif // wxUSE_GRID
+