New tests.
[mono.git] / mcs / class / Managed.Windows.Forms / System.Windows.Forms / Theme.cs
index 87a4d63caeed4685123adbf987b55bc63707693c..e4154e726f197b2595dc28fa8aa0a2ce69a34da2 100644 (file)
@@ -202,6 +202,7 @@ namespace System.Windows.Forms
 #else
                        default_font = new Font (FontFamily.GenericSansSerif, 8.25f);
 #endif
+                       syscolors = null;
                }
 
                private void SetSystemColors (KnownColor kc, Color value)
@@ -575,7 +576,7 @@ namespace System.Windows.Forms
                        else return value;
                }
 
-               [MonoTODO("Figure out where to point for My Network Places")]
+               [MonoInternalNote ("Figure out where to point for My Network Places")]
                public virtual string Places(UIIcon index) {
                        switch (index) {
                                case UIIcon.PlacesRecentDocuments: {
@@ -945,8 +946,6 @@ namespace System.Windows.Forms
                public abstract Point TabControlImagePadding { get; }
                public abstract int TabControlScrollerWidth { get; }
 
-               public abstract Rectangle TabControlGetLeftScrollRect (TabControl tab);
-               public abstract Rectangle TabControlGetRightScrollRect (TabControl tab);
                public abstract Rectangle TabControlGetDisplayRectangle (TabControl tab);
                public abstract Rectangle TabControlGetPanelRect (TabControl tab);
                public abstract Size TabControlGetSpacing (TabControl tab);
@@ -985,6 +984,7 @@ namespace System.Windows.Forms
                #region BalloonWindow
 #if NET_2_0
                public abstract void ShowBalloonWindow (IntPtr handle, int timeout, string title, string text, ToolTipIcon icon);
+               public abstract void HideBalloonWindow (IntPtr handle);
                public abstract void DrawBalloonWindow (Graphics dc, Rectangle clip, NotifyIcon.BalloonWindow control);
                public abstract Rectangle BalloonWindowRect (NotifyIcon.BalloonWindow control);
 #endif
@@ -1028,6 +1028,7 @@ namespace System.Windows.Forms
                public abstract bool ManagedWindowTitleButtonHasHotElementStyle (TitleButton button, Form form);
                public abstract void ManagedWindowDrawMenuButton (Graphics dc, TitleButton button, Rectangle clip, InternalWindowManager wm);
                public abstract void ManagedWindowOnSizeInitializedOrChanged (Form form);
+               public const int ManagedWindowSpacingAfterLastTitleButton = 2;
                #endregion
 
                #region ControlPaint Methods