diff --git a/src/generic/scrlwing.cpp b/src/generic/scrlwing.cpp index e08021f955..00289a0bed 100644 --- a/src/generic/scrlwing.cpp +++ b/src/generic/scrlwing.cpp @@ -1359,7 +1359,7 @@ void wxScrollHelper::HandleOnChildFocus(wxChildFocusEvent& event) while ( win->GetParent() != m_targetWindow ) { win = win->GetParent(); - wxCHECK_RET( win, "incorrectly sent wxChildFocusEvent - not our child" ); + wxCHECK_RET( win, wxT("incorrectly sent wxChildFocusEvent - not our child") ); } // if the child is not fully visible, try to scroll it into view: