Replace wxLogError() with wxLogDebug() in wxGTK wxDVC code.

The type mismatch between the value returned from the model and the one
returned by the control cannot be due to any user action, so it is quite
useless to show it to the user, it is only relevant for the developers.

Use wxLogDebug() and not wxASSERT() because asserting in a wxEVT_PAINT
callback would result in a crash due assert reentrancies.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@78292 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2014-12-22 01:31:07 +00:00
parent 93f080bd99
commit c8f2416e8d

View File

@@ -2913,7 +2913,7 @@ static void wxGtkTreeCellDataFunc( GtkTreeViewColumn *WXUNUSED(column),
if (value.GetType() != cell->GetVariantType())
{
wxLogError("Wrong type returned from the model: "
wxLogDebug("Wrong type returned from the model: "
"%s required but actual type is %s",
cell->GetVariantType(),
value.GetType());