Fix debug builds compilation after 052d28b

CWnd::GetWindowText() returns void in the overload used