diff --git a/src/gtk/dataview.cpp b/src/gtk/dataview.cpp index 3a6b62c230..81c4971be1 100644 --- a/src/gtk/dataview.cpp +++ b/src/gtk/dataview.cpp @@ -2913,9 +2913,10 @@ static void wxGtkTreeCellDataFunc( GtkTreeViewColumn *WXUNUSED(column), if (value.GetType() != cell->GetVariantType()) { - wxLogError( wxT("Wrong type, required: %s but: %s"), - value.GetType().c_str(), - cell->GetVariantType().c_str() ); + wxLogError("Wrong type returned from the model: " + "%s required but actual type is %s", + cell->GetVariantType(), + value.GetType()); } cell->SetValue( value );