mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-29 23:30:37 +00:00
Fixed serios bug that affected establishing connections. Support for NSBox.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2697 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
70f73da4bd
commit
45741ba6e9
3 changed files with 76 additions and 18 deletions
|
@ -117,10 +117,14 @@ object_set_instance_variable (id anObject,
|
|||
{
|
||||
id _source = [source nibInstantiate];
|
||||
id _destination = [destination nibInstantiate];
|
||||
NSString* setMethodName = [@"set" stringByAppendingString:
|
||||
[label capitalizedString]];
|
||||
NSString* setMethodName = [[@"set" stringByAppendingString:
|
||||
[label capitalizedString]]
|
||||
stringByAppendingString:@":"];
|
||||
SEL setSelector = NSSelectorFromString (setMethodName);
|
||||
|
||||
// NSLog (@"establish connection: source %@, destination %@, label %@",
|
||||
// _source, _destination, label);
|
||||
|
||||
if (setSelector && [_source respondsToSelector:setSelector])
|
||||
[_source performSelector:setSelector withObject:_destination];
|
||||
else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue