{
NSView *contentView = [sender contentView];
assert([contentView isKindOfClass:[VLCDialogGridView class]]);
{
NSView *contentView = [sender contentView];
assert([contentView isKindOfClass:[VLCDialogGridView class]]);
NSRect rect = NSMakeRect(0, 0, 0, 0);
rect.size = frameSize;
NSRect rect = NSMakeRect(0, 0, 0, 0);
rect.size = frameSize;
[popup addItemWithTitle:[NSString stringWithUTF8String:value->psz_text]];
}
[popup synchronizeTitleAndSelectedItem];
[popup addItemWithTitle:[NSString stringWithUTF8String:value->psz_text]];
}
[popup synchronizeTitleAndSelectedItem];
if (!control && !shouldDestroy)
{
control = createControlFromWidget(widget, self);
if (!control && !shouldDestroy)
{
control = createControlFromWidget(widget, self);
widget->p_sys_intf = control;
update = YES; // Force update and repositionning
[control setHidden:widget->b_hide];
widget->p_sys_intf = control;
update = YES; // Force update and repositionning
[control setHidden:widget->b_hide];