From 12e519f928a981327467dd030975afab310133ec Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Mon, 25 Apr 2016 18:08:26 -0400 Subject: [PATCH] Adjusted the rules based on the previous commit. --- rules.darwin | 2 ++ 1 file changed, 2 insertions(+) diff --git a/rules.darwin b/rules.darwin index efdb7e89..e736a144 100644 --- a/rules.darwin +++ b/rules.darwin @@ -2,3 +2,5 @@ every rule in ui_darwin.h SetParent must be followed by SetSuperview and SyncEnableState TODO can child cache it? adding a child must be followed by a call to SyncEnableState +SyncEnableState() must call ShouldStopSyncEnableState() first thing +Enable() and Disable() must call SyncEnableState() AFTER CHANGING WHAT Enabled() WILL RETURN