CompanionButton_OnLoad(self);
if ( IsModifiedClick() ) then
CompanionButton_OnModifiedClick(self, button);
else
CompanionButton_OnClick(self, button);
end
PlaySound("igMainMenuOptionCheckBoxOn");
CompanionButton_OnDrag(self, button);
CompanionButton_OnDrag(self);
CompanionButton_OnEnter(self, motion);
GameTooltip:Hide();
TextStatusBar_Initialize(self);
SetTextStatusBarText(self, PetPaperDollFrameExpBarText);
TextStatusBar_UpdateTextString(self);
ShowTextStatusBarText(self);
Model_OnLoad(self);
self:RegisterEvent("DISPLAY_SIZE_CHANGED");
self:RefreshUnit();
GameTooltip:SetOwner(self, "ANCHOR_RIGHT");
GameTooltip:SetText(format(PET_DIET_TEMPLATE, BuildListString(GetPetFoodTypes())));
PaperDollStatTooltip(self, "pet");
PaperDollStatTooltip(self, "pet");
PaperDollStatTooltip(self, "pet");
PaperDollStatTooltip(self, "pet");
PaperDollStatTooltip(self, "pet");
PaperDollStatTooltip(self, "pet");
CharacterDamageFrame_OnEnter(self);
PaperDollStatTooltip(self, "pet");
PaperDollStatTooltip(self, "pet");
Model_OnLoad(self);
self:RegisterEvent("DISPLAY_SIZE_CHANGED");
self:RefreshUnit();