改用Widget_ConnectEvent函数

This commit is contained in:
Liu Chao
2013-11-26 14:34:18 +08:00
parent 0269ab0511
commit da39f50303
+1 -1
View File
@@ -204,7 +204,7 @@ static void create_loginbtn( LCUI_Widget **btn )
Widget_SetAutoSize( widget, FALSE, 0 );
Widget_Resize( widget, Size(30,30) );
Widget_SetAlign( widget, ALIGN_MIDDLE_CENTER, Pos(93,50) );
Widget_Event_Connect( widget, EVENT_CLICKED, verify_passwd );
Widget_ConnectEvent( widget, EVENT_CLICKED, verify_passwd );
*btn = widget;
}