You've already forked lazarus-ccr
Improves the PasCocoa bindings. Adds a script to parse appkit. NSWindow and NSButton are already taken from the parser.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@447 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@@ -53,7 +53,7 @@ const
|
||||
NSImage = class(NSObject) // <NSCopying, NSCoding>
|
||||
public
|
||||
{ Extra binding functions }
|
||||
function getClass: objc.id; override;
|
||||
class function getClass: objc.id; override;
|
||||
public
|
||||
{
|
||||
+ (id)imageNamed:(NSString *)name; /* If this finds & creates the image, only name is saved when archived */
|
||||
@@ -167,7 +167,7 @@ const
|
||||
{$endif}
|
||||
{$ifdef IMPLEMENTATION}
|
||||
|
||||
function NSImage.getClass: objc.id;
|
||||
class function NSImage.getClass: objc.id;
|
||||
begin
|
||||
Result := objc_getClass(Str_NSImage);
|
||||
end;
|
||||
|
||||
Reference in New Issue
Block a user