diff options
Diffstat (limited to 'perl-install/Newt/Newt.xs')
-rw-r--r-- | perl-install/Newt/Newt.xs | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/perl-install/Newt/Newt.xs b/perl-install/Newt/Newt.xs index 0b1a757ff..0121452db 100644 --- a/perl-install/Newt/Newt.xs +++ b/perl-install/Newt/Newt.xs @@ -219,12 +219,16 @@ OUTPUT: RETVAL Newt::Component -newtTextbox(left,top,width,height,flags) +newtTextbox(left,top,width,height,want_scroll) int left; int top; int width; int height; - int flags; + int want_scroll; + CODE: + RETVAL = newtTextbox(left,top,width,height, (want_scroll ? NEWT_FLAG_SCROLL : 0) | NEWT_FLAG_WRAP); + OUTPUT: + RETVAL void newtTextboxSetText(co,text) |