From e2ec1db12221a8c984f760fc84c54a180d83d286 Mon Sep 17 00:00:00 2001 From: Sergii Stoian Date: Mon, 23 Dec 2019 01:32:42 +0200 Subject: [PATCH] * Palettes/2Controls/ControlsPalette.m (finishInstantiate) do not add popup button - it's already in model file of palette. --- Palettes/2Controls/ControlsPalette.m | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/Palettes/2Controls/ControlsPalette.m b/Palettes/2Controls/ControlsPalette.m index 1dffc70a..61a9a520 100644 --- a/Palettes/2Controls/ControlsPalette.m +++ b/Palettes/2Controls/ControlsPalette.m @@ -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); } /**