diff options
Diffstat (limited to 'new/label_windows.c')
| -rw-r--r-- | new/label_windows.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/new/label_windows.c b/new/label_windows.c index 8108033..3d8a5cc 100644 --- a/new/label_windows.c +++ b/new/label_windows.c @@ -26,7 +26,7 @@ static void onWM_DESTROY(uiControl *c) static void preferredSize(uiControl *c, uiSizing *d, intmax_t *width, intmax_t *height) { - *width = uiWindowsWindowTextWidth((HWND) uiControlHandle(c)); + *width = uiWindowsWindowTextWidth(uiControlHWND(c)); *height = uiDlgUnitsToY(labelHeight, d->sys->baseY); } |
