[Mono-bugs] [Bug 80509][Cos] Changed - [WIN] Incorrect window icon

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Tue Jan 16 03:31:55 EST 2007


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by georgegiolfan at yahoo.com.

http://bugzilla.ximian.com/show_bug.cgi?id=80509

--- shadow/80509	2007-01-15 17:55:26.000000000 -0500
+++ shadow/80509.tmp.24436	2007-01-16 03:31:55.000000000 -0500
@@ -93,6 +93,11 @@
 
 internal override void SetIcon(IntPtr hwnd, Icon icon) {
 	Win32SendMessage(hwnd, Msg.WM_SETICON, (IntPtr)1, icon.Handle);	// 1
 = large icon (0 would be small)
 }
 
+
+------- Additional Comments From georgegiolfan at yahoo.com  2007-01-16 03:31 -------
+Changing icon to new Icon(icon, 16, 16) in XplatUIWin32.SetIcon works 
+in my case (on Windows). I don't know what should be done on other 
+systems (changing Form.Icon?).


More information about the mono-bugs mailing list