Family Day update
This commit is contained in:
parent
aac6731f2c
commit
9ad63ea473
2442 changed files with 39761 additions and 8255 deletions
18
Task/Window-creation/Nim/window-creation-7.nim
Normal file
18
Task/Window-creation/Nim/window-creation-7.nim
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
import wx
|
||||
|
||||
{.experimental.}
|
||||
|
||||
const
|
||||
TITLE = "Rosetta Code - Window Creation Nim"
|
||||
WIDTH = 300
|
||||
HEIGHT = 300
|
||||
|
||||
let
|
||||
POSITION = construct_wxPoint(100,100)
|
||||
SIZE = construct_wxSize(WIDTH,HEIGHT)
|
||||
|
||||
let window = cnew construct_wxFrame(nil, wxID_ANY, TITLE, POSITION, SIZE)
|
||||
|
||||
window.show(true)
|
||||
|
||||
run_main_loop()
|
||||
Loading…
Add table
Add a link
Reference in a new issue