From: ewt Date: Thu, 11 Sep 1997 18:52:36 +0000 (+0000) Subject: added newtComponentTakesFocus() X-Git-Tag: r0-12~38 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=41d86a3c7af39027fdb10c8f39b58743c960ea38;p=thirdparty%2Fnewt.git added newtComponentTakesFocus() --- diff --git a/form.c b/form.c index d661a00..e0d681e 100644 --- a/form.c +++ b/form.c @@ -500,6 +500,10 @@ void newtComponentAddCallback(newtComponent co, newtCallback f, void * data) { co->callbackData = data; } +void newtComponentTakesFocus(newtComponent co, int val) { + co->takesFocus = val; +} + void newtFormSetBackground(newtComponent co, int color) { struct form * form = co->data;