X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f35719ef1d3b34fb42ebfab33944ea9cdc4413eb..90d26317f7613d64c81a5b09b578c5144c2bab1b:/include/wx/generic/gridctrl.h diff --git a/include/wx/generic/gridctrl.h b/include/wx/generic/gridctrl.h index 5a852c6bd5..9699f0476b 100644 --- a/include/wx/generic/gridctrl.h +++ b/include/wx/generic/gridctrl.h @@ -12,19 +12,22 @@ #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" +#include "wx/arrstr.h" #include "wx/datetime.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 { @@ -59,6 +62,7 @@ protected: wxDateTime::TimeZone m_tz; }; +#endif // wxUSE_DATETIME // the default renderer for the cells containing Time and dates.. class WXDLLEXPORT wxGridCellEnumRenderer : public wxGridCellStringRenderer @@ -106,6 +110,8 @@ public: private: long int m_startint; + + DECLARE_NO_COPY_CLASS(wxGridCellEnumEditor) }; #endif // wxUSE_COMBOBOX @@ -120,6 +126,8 @@ public: virtual wxGridCellEditor *Clone() const { return new wxGridCellAutoWrapStringEditor; } + + DECLARE_NO_COPY_CLASS(wxGridCellAutoWrapStringEditor) }; class WXDLLEXPORT wxGridCellAutoWrapStringRenderer : public wxGridCellStringRenderer @@ -151,7 +159,7 @@ private: }; -#endif // #if wxUSE_GRID || wxUSE_NEW_GRID +#endif // #if wxUSE_GRID #endif //_WX_GENERIC_GRIDCTRL_H_