Quantcast

Teach compiler.pl more methods in Frame and ActionButtonTemplate.

Johnny C. Lam [10-21-12 - 01:06]
Teach compiler.pl more methods in Frame and ActionButtonTemplate.

git-svn-id: svn://svn.curseforge.net/wow/ovale/mainline/trunk@612 d5049fe3-3747-40f7-a4b5-f36d6801af5f
Filename
compiler.pl
diff --git a/compiler.pl b/compiler.pl
index e40b8be..5b8df95 100644
--- a/compiler.pl
+++ b/compiler.pl
@@ -82,6 +82,8 @@ while (defined($r = readdir(DIR)))
 				$m{$class}{RegisterForClicks} = true;
 				$m{$class}{EnableMouse} = true;
 				$m{$class}{GetName} = true;
+				$m{$class}{SetAttribute} = true;
+				$m{$class}{SetScript} = true;
 			}
 			if ($1 eq 'Frame')
 			{
@@ -89,6 +91,8 @@ while (defined($r = readdir(DIR)))
 				$m{$class}{StopMovingOrSizing} = true;
 				$m{$class}{GetLeft} = true;
 				$m{$class}{GetTop} = true;
+				$m{$class}{SetAttribute} = true;
+				$m{$class}{SetScript} = true;
 			}
 		}