fixes #584
This commit is contained in:
parent
cf544f6a85
commit
2b9311e9f1
5 changed files with 86 additions and 27 deletions
|
|
@ -4,7 +4,7 @@ type
|
|||
PMenuItem = ref object
|
||||
|
||||
proc createMenuItem*(menu: PMenu, label: string,
|
||||
action: proc (i: PMenuItem, p: pointer) {.cdecl.}) = nil
|
||||
action: proc (i: PMenuItem, p: pointer) {.cdecl.}) = discard
|
||||
|
||||
var s: PMenu
|
||||
createMenuItem(s, "Go to definition...",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue