#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
+
#include "wx/grid.h"
#include "wx/string.h"
#include "wx/datetime.h"
};
+#if wxUSE_COMBOBOX
+
class WXDLLEXPORT wxGridCellEnumEditor : public wxGridCellChoiceEditor
{
public:
long int m_startint;
};
+#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 //_WX_GENERIC_GRIDCTRL_H_