mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-12-15 22:20:44 +01:00
cocoa: fix compilation for the latest fcl changes. #18782
git-svn-id: trunk@29613 -
This commit is contained in:
parent
8e0084f605
commit
f2cb6878a9
@ -54,7 +54,7 @@ type
|
||||
|
||||
{ TCocoaAppDelegate }
|
||||
|
||||
TCocoaAppDelegate = objcclass(NSObject)
|
||||
TCocoaAppDelegate = objcclass(NSObject, NSApplicationDelegateProtocol)
|
||||
function applicationShouldTerminate(sender: NSApplication): NSApplicationTerminateReply; message 'applicationShouldTerminate:';
|
||||
end;
|
||||
|
||||
|
||||
@ -159,7 +159,7 @@ type
|
||||
|
||||
{ TCocoaWindow }
|
||||
|
||||
TCocoaWindow = objcclass(NSWindow)
|
||||
TCocoaWindow = objcclass(NSWindow, NSWindowDelegateProtocol)
|
||||
protected
|
||||
function windowShouldClose(sender : id): LongBool; message 'windowShouldClose:';
|
||||
procedure windowWillClose(notification: NSNotification); message 'windowWillClose:';
|
||||
@ -208,7 +208,7 @@ type
|
||||
|
||||
{ TCocoaComboBox }
|
||||
|
||||
TCocoaComboBox = objcclass(NSComboBox)
|
||||
TCocoaComboBox = objcclass(NSComboBox, NSComboBoxDataSourceProtocol)
|
||||
callback : TCommonCallback;
|
||||
list : TCocoaComboBoxList;
|
||||
function comboBox_objectValueForItemAtIndex_(combo: TCocoaComboBox; row: NSInteger): id;
|
||||
@ -238,7 +238,7 @@ type
|
||||
|
||||
{ TCocoaListView }
|
||||
|
||||
TCocoaListView = objcclass(NSTableView)
|
||||
TCocoaListView = objcclass(NSTableView, NSTableViewDataSourceProtocol)
|
||||
callback : TCommonCallback;
|
||||
list : TCocoaStringList;
|
||||
function numberOfRowsInTableView(aTableView: NSTableView): NSInteger; message 'numberOfRowsInTableView:';
|
||||
|
||||
Loading…
Reference in New Issue
Block a user