diff options
| author | Pietro Gagliardi <[email protected]> | 2015-04-09 18:54:14 -0400 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2015-04-09 18:54:14 -0400 |
| commit | 7400cda3dad212b58ebef5cabe1d66ebc4b9d69b (patch) | |
| tree | 42d63a3b65726f805990d4cd35b009a059b8cd92 /new/entry_windows.c | |
| parent | 18a58e56fa2b0e7651b1ceb738fd14ffa5719f33 (diff) | |
Changed onWM_COMMAND() to give our controls only the notification code. We don't want to give the control the ID part of wParam because that's (or that'll be) dynamically assigned based on control parenting and prior controls; we don't want to give the control the LPARAM since that contains the window handle and uiControl already has that.
Diffstat (limited to 'new/entry_windows.c')
| -rw-r--r-- | new/entry_windows.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/new/entry_windows.c b/new/entry_windows.c index f8521b4..df4a91d 100644 --- a/new/entry_windows.c +++ b/new/entry_windows.c @@ -4,7 +4,7 @@ struct entry { }; -static BOOL onWM_COMMAND(uiControl *c, WPARAM wParam, LPARAM lParam, LRESULT *lResult) +static BOOL onWM_COMMAND(uiControl *c, WORD code, LRESULT *lResult) { return FALSE; } |
