Fix arguments of type mismatch error message in wxGTK wxDVC.
The "required" and "actual" arguments were exchanged, making the message pretty confusing. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@78291 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -2913,9 +2913,10 @@ static void wxGtkTreeCellDataFunc( GtkTreeViewColumn *WXUNUSED(column),
|
|||||||
|
|
||||||
if (value.GetType() != cell->GetVariantType())
|
if (value.GetType() != cell->GetVariantType())
|
||||||
{
|
{
|
||||||
wxLogError( wxT("Wrong type, required: %s but: %s"),
|
wxLogError("Wrong type returned from the model: "
|
||||||
value.GetType().c_str(),
|
"%s required but actual type is %s",
|
||||||
cell->GetVariantType().c_str() );
|
cell->GetVariantType(),
|
||||||
|
value.GetType());
|
||||||
}
|
}
|
||||||
|
|
||||||
cell->SetValue( value );
|
cell->SetValue( value );
|
||||||
|
Reference in New Issue
Block a user