mirror of
https://github.com/fltk/fltk.git
synced 2026-05-20 22:36:19 +08:00
It is preferable to use a complete initializer for a class instance.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10579 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
+1
-1
@@ -3898,7 +3898,7 @@ static void createAppleMenu(void)
|
||||
}
|
||||
if (fl_mac_os_version >= 100400) { // services+hide+quit already in menu in OS 10.3
|
||||
// Services Menu
|
||||
services = [[NSMenu alloc] init];
|
||||
services = [[NSMenu alloc] initWithTitle:@""];
|
||||
menuItem = [appleMenu
|
||||
addItemWithTitle:NSLocalizedString([NSString stringWithUTF8String:Fl_Mac_App_Menu::services], nil)
|
||||
action:nil
|
||||
|
||||
Reference in New Issue
Block a user