Changeset 1634


Ignore:
Timestamp:
1/22/2010 4:45:06 AM (4 years ago)
Author:
lowjoel
Message:

Forward port from Eraser 6.0: Fixed regression introduced in r1490 where CreateControl? was called in MainForm?. CreateControl? however does not create handles when the control is not visible (delayed creation.) Since only SchedulerPanel? needs to have a handle created, we'll force creation of the handle there. In addition, remove an unnecessary call to UXThemeApi.UpdateControlTheme?.

Location:
trunk/eraser6
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/eraser6

  • trunk/eraser6/Eraser/MainForm.cs

    r1495 r1634  
    4848            contentPanel.Controls.Add(SchedulerPage); 
    4949            contentPanel.Controls.Add(SettingsPage); 
    50             CreateControl(); 
    5150 
    5251            UXThemeApi.UpdateControlTheme(this); 
  • trunk/eraser6/Eraser/SchedulerPanel.cs

    r1515 r1634  
    4444        { 
    4545            InitializeComponent(); 
    46             UXThemeApi.UpdateControlTheme(schedulerDefaultMenu); 
     46            CreateHandle(); 
    4747 
    4848            //Populate the scheduler list-view with the current task list 
Note: See TracChangeset for help on using the changeset viewer.