From 41d86a3c7af39027fdb10c8f39b58743c960ea38 Mon Sep 17 00:00:00 2001 From: ewt Date: Thu, 11 Sep 1997 18:52:36 +0000 Subject: [PATCH] added newtComponentTakesFocus() --- form.c | 4 ++++ 1 file changed, 4 insertions(+) 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; -- 2.47.2