Fixed some runtime issues. Not all there...
This commit is contained in:
parent
524a8c88bb
commit
cfc3afe09f
|
@ -36,7 +36,7 @@ static void singleSetParent(uiControl *c, uiParent *parent)
|
|||
singleHWND *s = (singleHWND *) (c->internal);
|
||||
|
||||
s->parent = parent;
|
||||
if (SetParent(s->hwnd, (HWND) (s->parent)) == NULL)
|
||||
if (SetParent(s->hwnd, (HWND) uiParentHandle(s->parent)) == NULL)
|
||||
logLastError("error setting control parent in singleSetParent()");
|
||||
uiParentUpdate(s->parent);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue