begin butchering uiArea

This commit is contained in:
Arisotura
2019-05-15 16:43:56 +02:00
parent 4d427c9d2d
commit a89366cb5a
9 changed files with 75 additions and 20 deletions

View File

@ -432,7 +432,7 @@ void Open(int type)
uiLabel* dummy = uiNewLabel("");
uiBoxAppend(in_ctrl, uiControl(dummy), 1);
dlg->keypresscatcher = uiNewArea(&dlg->areahandler);
dlg->keypresscatcher = uiNewArea(&dlg->areahandler, 0);
uiControl(dlg->keypresscatcher)->UserData = dlg;
uiBoxAppend(in_ctrl, uiControl(dlg->keypresscatcher), 0);