mirror of
https://github.com/Airr/nim-cocoa.git
synced 2024-11-24 09:45:30 +00:00
Fixed Typo
This commit is contained in:
parent
fd346c4062
commit
ad42f9f3e6
@ -1,4 +1,4 @@
|
||||
import Cocoa
|
||||
import Cocoa / [NSWindow, NSFunctions, NSLabel, NSSlider]
|
||||
|
||||
const
|
||||
width = 320
|
||||
|
@ -33,6 +33,6 @@
|
||||
id createSlider(id parent, int left, int top, int width, int height, ACTION callback) {
|
||||
id widget = [[CocoaSlider alloc] initWithFrame:NSMakeRect(left, top, width, height) callBack:callback];
|
||||
|
||||
addToParent(parent, self);
|
||||
addToParent(parent, widget);
|
||||
return widget;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user