Originally Posted by Fizzlemizz
Code:
local f = CreateFrame("Frame", nil, self, BackdropTemplateMixin and "BackdropTemplate")
Testing for BackdropTemplateMixin is to differentiate between 9 and pre 9.
|
And what about Classic? Is Blizzard planning to change SetBackdrop() in Classic also?
As I am actually in the process of update my addons to 9.x, I would like some of them to work in Classic.
The problem is many of my frames are defined in XML, and of course
inherits="BackdropTemplate" raises an error in Classic.
So, if Classic will not use
BackdropTemplate, is there a way to dynamically modify an inheritance defined in XML?
Thanks.