Mercurial > dwindows
comparison win/dw.c @ 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 | 860d6e73f8bb |
children | 6919854298fd |
comparison
equal
deleted
inserted
replaced
1041:6a57bf20d8f9 | 1042:05ff61fd60d7 |
---|---|
4504 NULL, | 4504 NULL, |
4505 DWInstance, | 4505 DWInstance, |
4506 NULL); | 4506 NULL); |
4507 | 4507 |
4508 SetWindowLongPtr(hwndframe, GWLP_USERDATA, (LONG_PTR)newbox); | 4508 SetWindowLongPtr(hwndframe, GWLP_USERDATA, (LONG_PTR)newbox); |
4509 dw_window_set_font(hwndframe, DefaultFont); | |
4509 return hwndframe; | 4510 return hwndframe; |
4510 } | 4511 } |
4511 | 4512 |
4512 /* | 4513 /* |
4513 * Create a new MDI Frame to be packed. | 4514 * Create a new MDI Frame to be packed. |