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:
@@ -422,7 +422,9 @@ public:
|
|||||||
class WXDLLIMPEXP_ADV wxDataViewDateRenderer: public wxDataViewCustomRenderer
|
class WXDLLIMPEXP_ADV wxDataViewDateRenderer: public wxDataViewCustomRenderer
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
wxDataViewDateRenderer(const wxString &varianttype = wxT("datetime"),
|
static wxString GetDefaultType() { return wxS("datetime"); }
|
||||||
|
|
||||||
|
wxDataViewDateRenderer(const wxString &varianttype = GetDefaultType(),
|
||||||
wxDataViewCellMode mode = wxDATAVIEW_CELL_EDITABLE,
|
wxDataViewCellMode mode = wxDATAVIEW_CELL_EDITABLE,
|
||||||
int align = wxDVR_DEFAULT_ALIGNMENT);
|
int align = wxDVR_DEFAULT_ALIGNMENT);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user