diff options
| author | Pietro Gagliardi <[email protected]> | 2015-04-07 03:12:34 -0400 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2015-04-07 03:12:34 -0400 |
| commit | c4045909606cbc7733846ef7ca482d27bddd2e30 (patch) | |
| tree | 6fe708a9bc6a0092b746fb3c42610d34f3e811ec /new/newcontrol_windows.c | |
| parent | a3c26ff6522d5f383e011f4a2a2ff702dd855171 (diff) | |
Fixed build issues. Now I just need to hook resizing into uiWindow and implement a control and we'll be set...
Diffstat (limited to 'new/newcontrol_windows.c')
| -rw-r--r-- | new/newcontrol_windows.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/new/newcontrol_windows.c b/new/newcontrol_windows.c index 61f802a..f301a54 100644 --- a/new/newcontrol_windows.c +++ b/new/newcontrol_windows.c @@ -100,7 +100,7 @@ uiControl *uiWindowsNewControl(uiWindowsNewControlParams *p) c->onCommandNotifyData = p->onCommandNotifyData; c->preferredSize = p->preferredSize; - if ((*fv_SetWindowSubclass)(c->hwnd, singleSubclassProc, 0, c) == FALSE) + if ((*fv_SetWindowSubclass)(c->hwnd, singleSubclassProc, 0, (DWORD_PTR) c) == FALSE) logLastError("error subclassing Windows control in uiWindowsNewControl()"); return (uiControl *) c; |
