X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/df9fac6d214e7c88db5dec3d28e15f4db9eddce0..7b6fefbed1ef1cb879b72950d9f8fa35da128827:/include/wx/generic/gridctrl.h diff --git a/include/wx/generic/gridctrl.h b/include/wx/generic/gridctrl.h index a5833090c4..748713f87b 100644 --- a/include/wx/generic/gridctrl.h +++ b/include/wx/generic/gridctrl.h @@ -21,6 +21,8 @@ #if wxUSE_DATETIME +#include "wx/datetime.h" + // the default renderer for the cells containing Time and dates.. class WXDLLIMPEXP_ADV wxGridCellDateTimeRenderer : public wxGridCellStringRenderer { @@ -98,11 +100,12 @@ public: virtual wxGridCellEditor* Clone() const; - virtual bool EndEdit(int row, int col, wxGrid* grid); virtual void BeginEdit(int row, int col, wxGrid* grid); + virtual bool EndEdit(const wxString& oldval, wxString *newval); + virtual void ApplyEdit(int row, int col, wxGrid* grid); private: - long int m_startint; + long m_index; DECLARE_NO_COPY_CLASS(wxGridCellEnumEditor) };