bugfix: return type of gtk2.check_menu_item_new*

This commit is contained in:
Andreas Rumpf 2010-03-17 18:58:34 +01:00
commit 41afb4ee58
6 changed files with 359 additions and 10 deletions

View file

@ -130,7 +130,7 @@ proc replaceStr*(s: string, sub, by: char): string {.noSideEffect, deprecated.}
## **Deprecated since version 0.8.0**: Use `replace` instead.
proc deleteStr*(s: var string, first, last: int) {.deprecated.}
## Deletes in `s` the characters at position `first`..`last`. This modifies
## Deletes in `s` the characters at position `first` .. `last`. This modifies
## `s` itself, it does not return a copy.
## **Deprecated since version 0.8.0**: Use `delete` instead.
@ -665,7 +665,7 @@ proc delete*(s: var string, first, last: int) =
proc replaceStr(s, sub, by: string): string = return replace(s, sub, by)
proc replaceStr(s: string, sub, by: char): string = return replace(s, sub, by)
proc deleteStr*(s: var string, first, last: int) = delete(s, first, last)
proc deleteStr(s: var string, first, last: int) = delete(s, first, last)
# parsing numbers: