Aggiustati campi di testo bold
git-svn-id: svn://10.65.10.50/trunk@4103 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
5062fec8f1
commit
45d87311a6
@ -1034,6 +1034,9 @@ void TText_control::set_caption(const char* text)
|
|||||||
if (font == NULL)
|
if (font == NULL)
|
||||||
font = (FONT_OBJ*)xi_tree_malloc(sizeof(FONT_OBJ), _obj->v.text);
|
font = (FONT_OBJ*)xi_tree_malloc(sizeof(FONT_OBJ), _obj->v.text);
|
||||||
*font = xi_create_copy_font_id(get_interface(), xvt_default_font(bold), NULL);
|
*font = xi_create_copy_font_id(get_interface(), xvt_default_font(bold), NULL);
|
||||||
|
|
||||||
|
RCT rct; get_rect(rct);
|
||||||
|
xi_invalidate_rect(parent(), &rct);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user