Resolved NSMakeRect() argument casting TODO in sizing_darwin.m.
This commit is contained in:
parent
672efd5246
commit
6da105da56
|
@ -8,6 +8,5 @@
|
||||||
|
|
||||||
void moveControl(id c, intptr_t x, intptr_t y, intptr_t width, intptr_t height)
|
void moveControl(id c, intptr_t x, intptr_t y, intptr_t width, intptr_t height)
|
||||||
{
|
{
|
||||||
// TODO appropriate casts
|
[toNSView(c) setFrame:NSMakeRect((CGFloat) x, (CGFloat) y, (CGFloat) width, (CGFloat) height)];
|
||||||
[toNSView(c) setFrame:NSMakeRect(x, y, width, height)];
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue