clip board

This commit is contained in:
lixianjing 2023-04-25 16:49:06 +08:00
parent cbe8d8680d
commit 19ac3b1f2c
2 changed files with 4 additions and 0 deletions

View File

@ -1,5 +1,8 @@
# 最新动态
2023/04/25
* 修复剪切板的问题。
2023/04/24
* combo\_box\_ex控件以及测试和demo(感谢煜楷提供补丁)

View File

@ -97,6 +97,7 @@ clip_board_t* clip_board_sdl_create(void) {
clip_board_sdl_t* cl = TKMEM_ZALLOC(clip_board_sdl_t);
return_value_if_fail(cl != NULL, NULL);
str_init(&cl->str, 0);
cl->clip_board.vt = &s_clip_board_sdl_vtable;
return (clip_board_t*)cl;