X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8dd8f87530ad8268f6fefe4f4f09cad5503f6b6e..0e878cfcc6486c7903ae89b316bc71700320199d:/src/generic/gridctrl.cpp diff --git a/src/generic/gridctrl.cpp b/src/generic/gridctrl.cpp index 9d502277e6..0fd5a3fead 100644 --- a/src/generic/gridctrl.cpp +++ b/src/generic/gridctrl.cpp @@ -33,6 +33,8 @@ // wxGridCellDateTimeRenderer // ---------------------------------------------------------------------------- +#if wxUSE_DATETIME + // Enables a grid cell to display a formated date and or time wxGridCellDateTimeRenderer::wxGridCellDateTimeRenderer(wxString outformat, wxString informat) @@ -121,6 +123,8 @@ void wxGridCellDateTimeRenderer::SetParameters(const wxString& params){ m_oformat=params; } +#endif // wxUSE_DATETIME + // ---------------------------------------------------------------------------- // wxGridCellChoiceNumberRenderer // ----------------------------------------------------------------------------