#pragma interface "gridctrl.h"
#endif
-#if wxUSE_GRID || wxUSE_NEW_GRID
+#if wxUSE_GRID
#include "wx/grid.h"
#include "wx/string.h"
#define wxGRID_VALUE_CHOICEINT _T("choiceint")
#define wxGRID_VALUE_DATETIME _T("datetime")
+#if wxUSE_DATETIME
+
// the default renderer for the cells containing Time and dates..
class WXDLLEXPORT wxGridCellDateTimeRenderer : public wxGridCellStringRenderer
{
wxDateTime::TimeZone m_tz;
};
+#endif // wxUSE_DATETIME
// the default renderer for the cells containing Time and dates..
class WXDLLEXPORT wxGridCellEnumRenderer : public wxGridCellStringRenderer
};
-#endif // #if wxUSE_GRID || wxUSE_NEW_GRID
+#endif // #if wxUSE_GRID
#endif //_WX_GENERIC_GRIDCTRL_H_