diff Libs/AceGUI-3.0/widgets/AceGUIContainer-Window.lua @ 106:e635cd648e01 v49

7.2 update
author yellowfive
date Tue, 28 Mar 2017 16:10:00 -0700
parents 01b63b8ed811
children e31b02b24488
line wrap: on
line diff
--- a/Libs/AceGUI-3.0/widgets/AceGUIContainer-Window.lua	Wed Nov 16 00:03:40 2016 -0800
+++ b/Libs/AceGUI-3.0/widgets/AceGUIContainer-Window.lua	Tue Mar 28 16:10:00 2017 -0700
@@ -21,7 +21,11 @@
 ]]
 do
 	local Type = "Window"
-	local Version = 4
+	local Version = 5
+
+	local function frameOnShow(this)
+		this.obj:Fire("OnShow")
+	end
 
 	local function frameOnClose(this)
 		this.obj:Fire("OnClose")
@@ -180,6 +184,7 @@
 		frame:SetFrameStrata("FULLSCREEN_DIALOG")
 		frame:SetScript("OnMouseDown", frameOnMouseDown)
 		
+		frame:SetScript("OnShow",frameOnShow)
 		frame:SetScript("OnHide",frameOnClose)
 		frame:SetMinResize(240,240)
 		frame:SetToplevel(true)