* Control.cs: Enable OnPaintInternal so we can use it for drawing
authorJackson Harper <jackson@novell.com>
Wed, 5 Apr 2006 18:42:26 +0000 (18:42 -0000)
committerJackson Harper <jackson@novell.com>
Wed, 5 Apr 2006 18:42:26 +0000 (18:42 -0000)
commitd2ce310b30774f6c56fd522ed731b77997f5254a
tree0da02605c777b5d692d77384c41ca0092164cece
parent7a1ac6c371c9a890e0a0dbbe5eb3525bdb6b5866
* Control.cs: Enable OnPaintInternal so we can use it for drawing
        all of our controls instead of Paint +=.
        * ListBox.cs:
        * ListView.cs:
        * MenuAPI.cs:
        * MessageBox.cs:
        * NotifyIcon.cs:
        * ProgressBar.cs:
        * ScrollBar.cs:
        * Splitter.cs:
        * StatusBar.cs:
        * TabControl.cs:
        * TextBoxBase.cs:
        * ToolBar.cs:
        * TrackBar.cs:
        * UpDownBase.cs:
        * ComboBox.cs: Remove handling of WM_PAINT and WM_ERASEBKGND and
        use OnPaintInternal. Remove Width/Height and Visible checks in
        paint handler, this is done at a higher level now.
        * GroupBox.cs: Don't need to handle WM_ERASEBKGND anymore.
        * PaintEventArgs.cs: Add a handled flag so controls that don't
        want anymore painting after OnPaintInternal can make sure
OnPaint
        isn't called.

svn path=/trunk/mcs/; revision=59104
19 files changed:
mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
mcs/class/Managed.Windows.Forms/System.Windows.Forms/ComboBox.cs
mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs
mcs/class/Managed.Windows.Forms/System.Windows.Forms/GroupBox.cs
mcs/class/Managed.Windows.Forms/System.Windows.Forms/ListBox.cs
mcs/class/Managed.Windows.Forms/System.Windows.Forms/ListView.cs
mcs/class/Managed.Windows.Forms/System.Windows.Forms/MenuAPI.cs
mcs/class/Managed.Windows.Forms/System.Windows.Forms/MessageBox.cs
mcs/class/Managed.Windows.Forms/System.Windows.Forms/NotifyIcon.cs
mcs/class/Managed.Windows.Forms/System.Windows.Forms/PaintEventArgs.cs
mcs/class/Managed.Windows.Forms/System.Windows.Forms/ProgressBar.cs
mcs/class/Managed.Windows.Forms/System.Windows.Forms/ScrollBar.cs
mcs/class/Managed.Windows.Forms/System.Windows.Forms/Splitter.cs
mcs/class/Managed.Windows.Forms/System.Windows.Forms/StatusBar.cs
mcs/class/Managed.Windows.Forms/System.Windows.Forms/TabControl.cs
mcs/class/Managed.Windows.Forms/System.Windows.Forms/TextBoxBase.cs
mcs/class/Managed.Windows.Forms/System.Windows.Forms/ToolBar.cs
mcs/class/Managed.Windows.Forms/System.Windows.Forms/TrackBar.cs
mcs/class/Managed.Windows.Forms/System.Windows.Forms/UpDownBase.cs