View Single Post
08-31-23, 02:04 PM   #7
SDPhantom
A Pyroguard Emberseer
 
SDPhantom's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2006
Posts: 2,334
It looks like :SetFrameRef() is inherited from SecureHandlerTemplate. This is the base template that the other handler templates inherit from and only uses an OnLoad script that assigns this function. You can add it to your inherit list yourself and it should work.

Code:
local protoGerm = CreateFrame("CheckButton", myName, parent, "SecureHandlerTemplate, SmallActionButtonTemplate, SecureActionButtonTemplate")
__________________
WoWInterface AddOns
"All I want is a pretty girl, a decent meal, and the right to shoot lightning at fools."
-Anders (Dragon Age: Origins - Awakening)
  Reply With Quote