2007-02-28 Sebastien Pouliot <sebastien@ximian.com>
[mono.git] / mcs / class / System.Drawing / System.Drawing / gdipFunctions.cs
index b386f461ea983907f48ab885d164db5395932e76..e58b6cc4a332904ce27cac67bd60de0d246fe0f7 100644 (file)
@@ -1451,7 +1451,8 @@ namespace System.Drawing
                internal static extern IntPtr CreateIconIndirect ([In] ref IconInfo piconinfo);
                [DllImport("user32.dll", CallingConvention = CallingConvention.StdCall, SetLastError=true)]
                internal static extern bool DestroyIcon (IntPtr hIcon);
+               [DllImport("gdi32.dll")]
+               internal static extern bool DeleteObject (IntPtr hObject);
                [DllImport("user32.dll")]
                internal static extern IntPtr GetDesktopWindow ();