* Palettes/2Controls/ControlsPalette.m (finishInstantiate) do not add popup button - it's already in model file of palette.

This commit is contained in:
Sergii Stoian 2019-12-23 01:32:42 +02:00
parent 10499e2610
commit e2ec1db122

View file

@ -57,17 +57,6 @@
- (void) finishInstantiate
{
NSView *contents;
id v;
contents = [originalWindow contentView];
[contents setFrame: NSMakeRect(0, 0, 272, 192)];
v = [[GormNSPopUpButton alloc] initWithFrame: NSMakeRect(118, 139, 87, 22)];
[v addItemWithTitle: @"Item 1"];
[v addItemWithTitle: @"Item 2"];
[v addItemWithTitle: @"Item 3"];
[contents addSubview: v];
RELEASE(v);
}
/**