[Mono-bugs] [Bug 648403] SplitContainer does not implement ISupportInitialize

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Dec 7 10:31:33 EST 2010


https://bugzilla.novell.com/show_bug.cgi?id=648403

https://bugzilla.novell.com/show_bug.cgi?id=648403#c2


Andreas Kühlmeyer <andreas.kuehlmeyer at avid.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |andreas.kuehlmeyer at avid.com

--- Comment #2 from Andreas Kühlmeyer <andreas.kuehlmeyer at avid.com> 2010-12-07 15:31:32 UTC ---
Doesn't something like the following diff fix the problem? At least for me it
seems to do the trick:

---
mono-2.8.1/mcs/class/Managed.Windows.Forms/System.Windows.Forms/SplitContainer.cs
  2010-11-12 11:24:41.000000000 +0100
+++
./mono-2.8.1/mcs/class/Managed.Windows.Forms/System.Windows.Forms/SplitContainer.cs
       2010-12-07 16:20:56.089048839 +0100
@@ -42,8 +42,18 @@
        [DefaultEvent ("SplitterMoved")]
        [Docking (DockingBehavior.AutoDock)]
        [Designer ("System.Windows.Forms.Design.SplitContainerDesigner, " +
Consts.AssemblySystem_Design)]
-       public class SplitContainer : ContainerControl
+       public class SplitContainer : ContainerControl, ISupportInitialize
        {
+       #region ISupportInitialize Members
+        public void BeginInit()
+        {
+        }
+
+        public void EndInit()
+        {
+        }
+        #endregion
+
                #region Local Variables
                private FixedPanel fixed_panel;
                private Orientation orientation;

-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list