#ifndef _WX_GENERIC_GRIDCTRL_H_
#define _WX_GENERIC_GRIDCTRL_H_
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(__APPLE__)
#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 // wxUSE_COMBOBOX
-class wxGridCellAutoWrapStringEditor : public wxGridCellTextEditor
+class WXDLLEXPORT wxGridCellAutoWrapStringEditor : public wxGridCellTextEditor
{
public:
wxGridCellAutoWrapStringEditor() : wxGridCellTextEditor() { }
{ return new wxGridCellAutoWrapStringEditor; }
};
-class wxGridCellAutoWrapStringRenderer : public wxGridCellStringRenderer
+class WXDLLEXPORT wxGridCellAutoWrapStringRenderer : public wxGridCellStringRenderer
{
public:
wxGridCellAutoWrapStringRenderer() : wxGridCellStringRenderer() { }
};
-#endif // #if wxUSE_GRID || wxUSE_NEW_GRID
+#endif // #if wxUSE_GRID
#endif //_WX_GENERIC_GRIDCTRL_H_