# HG changeset patch # User bsmith@81767d24-ef19-dc11-ae90-00e081727c95 # Date 1306413454 0 # Node ID 05ff61fd60d7f184ba746800d84deb49fa6c1e07 # Parent 6a57bf20d8f907a74545ec976761b31a991eb767 Initialize the groupbox title to the default font while creating it on Windows. This allows dw_window_get_font() to succeed in later requests. diff -r 6a57bf20d8f9 -r 05ff61fd60d7 win/dw.c --- a/win/dw.c Thu May 26 11:46:13 2011 +0000 +++ b/win/dw.c Thu May 26 12:37:34 2011 +0000 @@ -4506,6 +4506,7 @@ NULL); SetWindowLongPtr(hwndframe, GWLP_USERDATA, (LONG_PTR)newbox); + dw_window_set_font(hwndframe, DefaultFont); return hwndframe; }