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