]> git.saurik.com Git - wxWidgets.git/commitdiff
added \#if wxUSE_GRID around the whole file (patch 455225)
authorVadim Zeitlin <vadim@wxwidgets.org>
Sat, 25 Aug 2001 14:43:43 +0000 (14:43 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sat, 25 Aug 2001 14:43:43 +0000 (14:43 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11468 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/generic/grid.cpp

index ee52b2ab5d3463a802cc4907b802e62cefdf7879..70a8efaf32cdf9dc2829053a8bf1b20c2ddd39ea 100644 (file)
     #pragma hdrstop
 #endif
 
     #pragma hdrstop
 #endif
 
+#if wxUSE_GRID
+
 #if !defined(wxUSE_NEW_GRID) || !(wxUSE_NEW_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"
 
 #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
+