mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-31 19:00:47 +00:00
Fix warnings in NSForm.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@36046 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
0f6458d613
commit
f4ebbf89ed
1 changed files with 12 additions and 12 deletions
|
@ -59,16 +59,16 @@ static Class defaultCellClass = nil;
|
||||||
}
|
}
|
||||||
|
|
||||||
- (id) initWithFrame: (NSRect)frameRect
|
- (id) initWithFrame: (NSRect)frameRect
|
||||||
mode: (int)aMode
|
mode: (NSMatrixMode)aMode
|
||||||
cellClass: (Class)class
|
cellClass: (Class)class
|
||||||
numberOfRows: (NSInteger)rowsHigh
|
numberOfRows: (NSInteger)rowsHigh
|
||||||
numberOfColumns: (NSInteger)colsWide
|
numberOfColumns: (NSInteger)colsWide
|
||||||
{
|
{
|
||||||
self = [super initWithFrame: (NSRect)frameRect
|
self = [super initWithFrame: frameRect
|
||||||
mode: (int)aMode
|
mode: aMode
|
||||||
cellClass: (Class)class
|
cellClass: class
|
||||||
numberOfRows: (NSInteger)rowsHigh
|
numberOfRows: rowsHigh
|
||||||
numberOfColumns: (NSInteger)colsWide];
|
numberOfColumns: colsWide];
|
||||||
if (nil == self)
|
if (nil == self)
|
||||||
return nil;
|
return nil;
|
||||||
|
|
||||||
|
@ -77,16 +77,16 @@ static Class defaultCellClass = nil;
|
||||||
}
|
}
|
||||||
|
|
||||||
- (id) initWithFrame: (NSRect)frameRect
|
- (id) initWithFrame: (NSRect)frameRect
|
||||||
mode: (int)aMode
|
mode: (NSMatrixMode)aMode
|
||||||
prototype: (NSCell*)prototype
|
prototype: (NSCell*)prototype
|
||||||
numberOfRows: (NSInteger)rowsHigh
|
numberOfRows: (NSInteger)rowsHigh
|
||||||
numberOfColumns: (NSInteger)colsWide
|
numberOfColumns: (NSInteger)colsWide
|
||||||
{
|
{
|
||||||
self = [super initWithFrame: (NSRect)frameRect
|
self = [super initWithFrame: frameRect
|
||||||
mode: (int)aMode
|
mode: aMode
|
||||||
prototype: (NSCell*)prototype
|
prototype: prototype
|
||||||
numberOfRows: (NSInteger)rowsHigh
|
numberOfRows: rowsHigh
|
||||||
numberOfColumns: (NSInteger)colsWide];
|
numberOfColumns: colsWide];
|
||||||
if (nil == self)
|
if (nil == self)
|
||||||
return nil;
|
return nil;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue