[Gtk-sharp-list] Problem with DeleteEvent

miguel díaz miguelchispi@yahoo.com
Wed, 18 Aug 2004 18:12:44 +0100 (BST)


hi all,
in my window delete event i want to test if a text
view has changed before exiting the application but
when i run the programm, it ignores it, my warning
dialog does not appear and mono throw this message:

...gdk warning: gdk_property_delete:general case not
implemented
...gdk warning: window unexpectedly destroyed

can anyone tell me what is wrong? here my code

public void WindowDelete (object obj, DeleteEventArgs
args) 
        {
            if(contentsModified == true){
				new WarningDialog();
				Application.Quit();
			}
			else{
								Application.Quit();
			}
            
        }


	
	
		
___________________________________________________________ALL-NEW Yahoo! Messenger - all new features - even more fun!  http://uk.messenger.yahoo.com