#NEWLINE# def destroy( self , hwnd , msg , wparam , lparam ) : #NEWLINE# #INDENT# if self . on_quit : #NEWLINE# #INDENT# self . on_quit ( lparam ) #NEWLINE# #UNINDENT# nid = ( self . hwnd , 0 ) #NEWLINE# win32gui . Shell_NotifyIcon ( win32gui . NIM_DELETE , nid ) #NEWLINE# win32gui . PostQuitMessage ( 0 )