fix set_focus(self,c,w) .widget bug