Fixed some runtime issues. Not all there...

This commit is contained in:
Pietro Gagliardi 2015-04-12 23:02:23 -04:00
parent 524a8c88bb
commit cfc3afe09f
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}