PMunch / wxnim

Nim wrapper for wxWidgets.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

genui script causes compile error with Nim v0.16.0

fredrikhr opened this issue · comments

The current version of the Nim compiler (as of writing this issue), version 0.16.0 is not able to compile the genui script in the examples.

Nim compiler error output:

controlgallery.nim(30, 1) template/generic instantiation from here
controlgallery.nim(32, 22) Error: type mismatch: got (label: string, parent: NimNode, id: WxStandardID)
but expected one of:
proc constructwxStaticBox(parent: ptr WxWindow; id: WxWindowID; label: WxString;
                         pos: WxPoint = wxDefaultPosition;
                         size: WxSize = wxDefaultSize; style: clong = 0;
                         name: WxString = "groupBox"): WxStaticBox
proc constructwxStaticBox(): WxStaticBox