diff --git a/src/generic/listctrl.cpp b/src/generic/listctrl.cpp index 4ec58a8c93..8bb4d60e1d 100644 --- a/src/generic/listctrl.cpp +++ b/src/generic/listctrl.cpp @@ -4603,7 +4603,7 @@ bool wxListCtrl::Create(wxWindow *parent, style = style | wxLC_LIST; } - if ( !wxControl::Create( parent, id, pos, size, style, validator, "listctrl" ) ) + if ( !wxControl::Create( parent, id, pos, size, style, validator, name ) ) return FALSE; // don't create the inner window with the border