add missing wxDataViewDateRenderer::GetDefaultType()

Avoids "Wrong type returned from the model" debug message.
Should have been part of 615b4969 (r78288)
This commit is contained in:
Paul Cornett 2015-08-20 09:51:11 -07:00
parent a2d6341e4f
commit 3ff8c3c100

View File

@ -422,7 +422,9 @@ public:
class WXDLLIMPEXP_ADV wxDataViewDateRenderer: public wxDataViewCustomRenderer
{
public:
wxDataViewDateRenderer(const wxString &varianttype = wxT("datetime"),
static wxString GetDefaultType() { return wxS("datetime"); }
wxDataViewDateRenderer(const wxString &varianttype = GetDefaultType(),
wxDataViewCellMode mode = wxDATAVIEW_CELL_EDITABLE,
int align = wxDVR_DEFAULT_ALIGNMENT);