StaticPopup_EditBoxOnEnterPressed(self);
StaticPopup_EditBoxOnEscapePressed(self);
StaticPopup_EditBoxOnTextChanged(self, userInput);
self:GetParent().editBox = self;
StaticPopup_EditBoxOnEnterPressed(self);
StaticPopup_EditBoxOnEscapePressed(self);
self:GetParent().wideEditBox = self;
SmallMoneyFrame_OnLoad(self);
MoneyFrame_SetType(self, "STATIC");
self:GetParent().moneyFrame = self;
StaticPopup_OnUpdate(self, elapsed);
StaticPopup_OnShow(self);
StaticPopup_OnHide(self);
local name = self:GetName();
self.button1 = _G[name .. "Button1"];
self.button2 = _G[name .. "Button2"];
self.button3 = _G[name .. "Button3"];
self.text = _G[name .. "Text"];
self.icon = _G[name .. "AlertIcon"];
self.moneyInputFrame = _G[name .. "MoneyInputFrame"];
self:RegisterEvent("DISPLAY_SIZE_CHANGED");