Whops, left some stuff over in events.cpp. Also added a comment.

This commit is contained in:
Pietro Gagliardi 2016-04-21 15:01:05 -04:00
parent a8e897c1ec
commit 3b4eeee7bb
1 changed files with 1 additions and 6 deletions

View File

@ -7,6 +7,7 @@ struct handler {
BOOL (*hscrollHandler)(uiControl *, HWND, WORD, LRESULT *);
uiControl *c;
// just to ensure handlers[new HWND] initializes properly
struct handler()
{
this->commandHandler = NULL;
@ -91,12 +92,6 @@ BOOL runWM_COMMAND(WPARAM wParam, LPARAM lParam, LRESULT *lResult)
return (*handler)(c, hwnd, arg3, lResult);
return FALSE;
}
},
[](WPARAM wParam, LPARAM lParam) {
return ;
}>(wParam, lParam, lResult);
}
BOOL runWM_NOTIFY(WPARAM wParam, LPARAM lParam, LRESULT *lResult)
{