add a reference to the real button into the button proxy object

This commit is contained in:
Hendrik Leppkes
2008-05-04 10:35:25 +00:00
parent 141bba7261
commit d8048408a5
+1
View File
@@ -47,6 +47,7 @@ function Bartender4.Button:Create(id, parent)
button.Proxy:SetHighlightTexture("")
button.Proxy:SetCheckedTexture("")
button.Proxy:Show()
button.Proxy.Secure = button
local NormalTexture = button.Proxy:GetNormalTexture()
NormalTexture:SetWidth(66)