dont delete this font, it will break winforms. but probably still delete other fonts. as usual with windows its freaking impossible to tell when you should delete a GDI object, sometimes I guess wrong.
This commit is contained in:
parent
50a3b41eb2
commit
9be6a8533b
|
@ -881,7 +881,6 @@
|
|||
//
|
||||
// FlushSaveRAMMenuItem
|
||||
//
|
||||
this.FlushSaveRAMMenuItem.Font = new System.Drawing.Font("Tahoma", 8.25F);
|
||||
this.FlushSaveRAMMenuItem.Name = "FlushSaveRAMMenuItem";
|
||||
this.FlushSaveRAMMenuItem.Size = new System.Drawing.Size(152, 22);
|
||||
this.FlushSaveRAMMenuItem.Text = "&Flush Save Ram";
|
||||
|
|
|
@ -52,7 +52,6 @@ namespace BizHawk.Client.EmuHawk
|
|||
if (SaveRAMSubMenu.Font.Bold != needBold)
|
||||
{
|
||||
var font = new System.Drawing.Font(SaveRAMSubMenu.Font, needBold ? FontStyle.Bold : FontStyle.Regular);
|
||||
SaveRAMSubMenu.Font.Dispose();
|
||||
SaveRAMSubMenu.Font = font;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue