Added 2 missing SetPort calls
diff --git a/Mac/Lib/FrameWork.py b/Mac/Lib/FrameWork.py
index e4aa034..bb13757 100644
--- a/Mac/Lib/FrameWork.py
+++ b/Mac/Lib/FrameWork.py
@@ -471,7 +471,6 @@
 		self.parent.appendwindow(self.wid, self)
 		
 	def close(self):
-		pass
 		self.do_postclose()
 			
 	def do_postclose(self):
@@ -540,6 +539,7 @@
 	
 	def do_rawupdate(self, window, event):
 		if DEBUG: print "raw update for", window
+		SetPort(window)
 		window.BeginUpdate()
 		self.do_update(window, event)
 		window.EndUpdate()
@@ -565,6 +565,7 @@
 
 	def do_inContent(self, partcode, window, event):
 		(what, message, when, where, modifiers) = event
+		SetPort(window)  # XXXX Needed?
 		local = GlobalToLocal(where)
 		ctltype, control = FindControl(local, window)
 		if ctltype and control: