Changeset 1431


Ignore:
Timestamp:
12/29/2009 7:28:53 AM (2 years ago)
Author:
lowjoel
Message:

When setting the font on the menus as part of themeing use the Menu font for menus.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/eraser6/Eraser.Util/UxThemeApi.cs

    r1360 r1431  
    115115        public static void UpdateControlTheme(ToolStripDropDownItem menuItem) 
    116116        { 
    117             if (menuItem.Font != SystemFonts.MessageBoxFont) 
    118                 menuItem.Font = new Font(SystemFonts.MessageBoxFont, menuItem.Font.Style); 
     117            if (menuItem.Font != SystemFonts.MenuFont) 
     118                menuItem.Font = new Font(SystemFonts.MenuFont, menuItem.Font.Style); 
    119119 
    120120            UpdateControlTheme(menuItem.DropDown); 
Note: See TracChangeset for help on using the changeset viewer.