summaryrefslogtreecommitdiff
path: root/iup/src/iup_layout.c
diff options
context:
space:
mode:
Diffstat (limited to 'iup/src/iup_layout.c')
-rwxr-xr-xiup/src/iup_layout.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/iup/src/iup_layout.c b/iup/src/iup_layout.c
index 9387135..fc9dcf6 100755
--- a/iup/src/iup_layout.c
+++ b/iup/src/iup_layout.c
@@ -91,6 +91,16 @@ void IupRedraw(Ihandle* ih, int children)
iLayoutDisplayRedrawChildren(ih);
}
+void IupSetRedraw(Ihandle* ih, int value)
+{
+ iupASSERT(iupObjectCheck(ih));
+ if (!iupObjectCheck(ih))
+ return;
+
+ if (ih->handle && ih->iclass->nativetype != IUP_TYPEVOID)
+ iupdrvSetRedraw(ih, value);
+}
+
void iupLayoutUpdate(Ihandle* ih)
{
Ihandle* child;