changeset 1042:05ff61fd60d7

Initialize the groupbox title to the default font while creating it on Windows. This allows dw_window_get_font() to succeed in later requests.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Thu, 26 May 2011 12:37:34 +0000
parents 6a57bf20d8f9
children 49a53cf864c1
files win/dw.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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;
 }