mirror of
https://github.com/lc-soft/LCUI.git
synced 2026-12-01 16:56:34 +01:00
改用Widget_ConnectEvent函数
This commit is contained in:
+1
-1
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user