A little more experienced than a few hours ago :-).
I'm trying to programmatically set the title of a button, using the
[inRef setTitle:[NSString stringWithCString:"Hello"]];
However, this end up with the button displaying garbage.
I noticed the same problem when using SetControlTitleWithCFString in Carbon,
so I switched back to SetControlTitle, which is ok, but I cannot use this
trick in Cocoa.
Is this a known problem, or is there omething wrong in the code above ?