- shamelessly ripped off code from pitbull4 to replace "set focus" with instructions on how to do so. begone, focus error reports!

This commit is contained in:
Parnic
2010-10-30 04:40:12 +00:00
parent 2401ed2295
commit fecfe8b586
6 changed files with 125 additions and 27 deletions

View File

@ -16,17 +16,5 @@ function PetInfo.prototype:GetDefaultSettings()
return settings
end
local function IcePetDropdown()
ToggleDropDownMenu(1, nil, PetFrameDropDown, "cursor")
end
function PetInfo.prototype:CreateFrame(redraw)
PetInfo.super.prototype.CreateFrame(self, redraw)
if not self.frame.menu or self.frame.menu ~= IcePetDropdown then
self.frame.menu = IcePetDropdown
end
end
-- Load us up
IceHUD.PetInfo = PetInfo:new()