[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #20434] NSTextfield setStringValue: problem

From: Lubo Zavacky
Subject: [bug #20434] NSTextfield setStringValue: problem
Date: Tue, 10 Jul 2007 09:13:39 +0000
User-agent: Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv: Gecko/20070321 Firefox/


                 Summary: NSTextfield setStringValue: problem
                 Project: GNUstep
            Submitted by: luboz
            Submitted on: Tuesday 07/10/2007 at 09:13
                Category: Gui/AppKit
                Severity: 3 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any



I have an OpenStep application ported to GNUstep. During port I found a bug
in setStringValue: method of NSTextField.

id arr = [[NSArray alloc] initWithObjects: @"a", @"b", nil];
id txt = [[NSTextField alloc] initWithFrame: NSMakeRect(5, 37, 200, 28)];

[txt setStringValue: arr];

This crash on NSException, but in OpenStep it shows "(a, b)" string in
NSTextField. I have attached some example.


File Attachments:

Date: Tuesday 07/10/2007 at 09:13  Name: Array2TxtFld.m  Size: 3kB   By:

Date: Tuesday 07/10/2007 at 09:13  Name: GNUmakefile  Size: 155B   By: luboz



Reply to this item at:


  Message sent via/by Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]