The code below is the only code in an addon I started for a test. The texture is a .blp but setting to a non-existant green square makes no difference.
Does anyone have any idea why this one frame is the only UI element that doesn't hide when I Alt-Z?
See.
Code:
local button = CreateFrame("Button", "FauxMazzleAssist")
button:SetSize(21, 21)
button:SetPoint("BOTTOMRIGHT", UIParent, "BOTTOMRIGHT", -158, 116)
button.Texture = button:CreateTexture("$parentTexture")
button.Texture:SetAllPoints()
button.Texture:SetTexture("Interface/AddOns/FMAssist/MMBG")