diff --git a/ui_darwin.h b/ui_darwin.h index 9b07d6cc..2b125cff 100644 --- a/ui_darwin.h +++ b/ui_darwin.h @@ -119,7 +119,7 @@ _UI_EXTERN void uiDarwinControlSetSuperview(uiDarwinControl *, NSView *); // TODO document #define uiDarwinNewControl(type, var) \ - var = type(uiDarwinNewControl(sizeof (type), type ## Signature, #type)) \ + var = type(uiDarwinNewControl(sizeof (type), type ## Signature, #type)); \ uiControl(var)->Destroy = type ## Destroy; \ uiControl(var)->Handle = type ## Handle; \ uiControl(var)->Parent = type ## Parent; \