X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f35719ef1d3b34fb42ebfab33944ea9cdc4413eb..6d89ddefa968e2449d10e07a261d070b3fc180ab:/include/wx/generic/gridctrl.h diff --git a/include/wx/generic/gridctrl.h b/include/wx/generic/gridctrl.h index 5a852c6bd5..3cc0c7e157 100644 --- a/include/wx/generic/gridctrl.h +++ b/include/wx/generic/gridctrl.h @@ -12,7 +12,7 @@ #ifndef _WX_GENERIC_GRIDCTRL_H_ #define _WX_GENERIC_GRIDCTRL_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "gridctrl.h" #endif @@ -25,6 +25,8 @@ #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 +61,7 @@ protected: wxDateTime::TimeZone m_tz; }; +#endif // wxUSE_DATETIME // the default renderer for the cells containing Time and dates.. class WXDLLEXPORT wxGridCellEnumRenderer : public wxGridCellStringRenderer