WoWInterface SVN NoTaint_UIDropDownMenu_Update

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /trunk
    from Rev 7 to Rev 8
    Reverse comparison

Rev 7 → Rev 8

NoTaint_UIDropDownMenu.toc
1,7 → 1,7
## Interface: 70100
## Interface: 70200
## Title: Lib: NoTaint_UIDropDownMenu
## Notes: Replacement for standard UIDropDownMenu
## Version: 7.1.0.22908
## Version: 7.2.0.23789
## X-Category: Libraries
 
# ## Check out the following page for more details:
UIDropDownMenu.lua
78,7 → 78,7
 
-- Set the initialize function and call it. The initFunction populates the dropdown list.
if ( initFunction ) then
frame.initialize = initFunction;
Lib_UIDropDownMenu_SetInitializeFunction(frame, initFunction);
initFunction(frame, level, frame.menuList);
end
 
111,6 → 111,10
 
end
 
function Lib_UIDropDownMenu_SetInitializeFunction(frame, initFunction)
frame.initialize = initFunction;
end
 
function Lib_UIDropDownMenu_RefreshDropDownSize(self)
self.maxWidth = Lib_UIDropDownMenu_GetMaxButtonWidth(self);
self:SetWidth(self.maxWidth + 25);