diff options
| author | Manolo Gouy <Manolo> | 2011-07-11 14:53:07 +0000 |
|---|---|---|
| committer | Manolo Gouy <Manolo> | 2011-07-11 14:53:07 +0000 |
| commit | b2561363f730fc2d10f28d8af9a2e3ca2698ecf5 (patch) | |
| tree | e43bc486b169dd4a08c430b1aa9ed6ccd6047e85 /src | |
| parent | 264c73c9ab0f6083a7f76480e0783e55cc1e5cd1 (diff) | |
Mac OS: fix STR #2666 allowing to display copyright info in the default About window.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8852 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src')
| -rw-r--r-- | src/Fl_cocoa.mm | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/Fl_cocoa.mm b/src/Fl_cocoa.mm index 02a40569b..9ebbfc472 100644 --- a/src/Fl_cocoa.mm +++ b/src/Fl_cocoa.mm @@ -2866,10 +2866,11 @@ void Fl_X::set_cursor(Fl_Cursor c) { NSDictionary *options; options = [NSDictionary dictionaryWithObjectsAndKeys: - [NSString stringWithFormat:@" GUI with FLTK %d.%d", FL_MAJOR_VERSION, - FL_MINOR_VERSION ], @"Copyright", + [[[NSAttributedString alloc] + initWithString:[NSString stringWithFormat:@" GUI with FLTK %d.%d", + FL_MAJOR_VERSION, FL_MINOR_VERSION ]] autorelease], @"Credits", nil]; - [NSApp orderFrontStandardAboutPanelWithOptions:options]; + [NSApp orderFrontStandardAboutPanelWithOptions:options]; } //#include <FL/Fl_PostScript.H> - (void)printPanel |
