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
This commit is contained in:
parent
264c73c9ab
commit
b2561363f7
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user