def set_handle(self,type,handle):
if self.lastHandle[type] != handle:<EOL><INDENT>self.emf.SelectObject(handle)<EOL>self.lastHandle[type]=handle<EOL><DEDENT>
Update the EMF file with the current handle, but only if it
isn't the same as the last one.  Don't want to flood the file
with duplicate info.