From: Vadim Zeitlin Date: Sat, 25 Aug 2001 14:43:43 +0000 (+0000) Subject: added \#if wxUSE_GRID around the whole file (patch 455225) X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/27b92ca4e2a2b14ab060cdce64edc5b4fcb1fcd3 added \#if wxUSE_GRID around the whole file (patch 455225) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11468 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/generic/grid.cpp b/src/generic/grid.cpp index ee52b2ab5d..70a8efaf32 100644 --- a/src/generic/grid.cpp +++ b/src/generic/grid.cpp @@ -30,9 +30,11 @@ #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 +