Author: jpobst
Date: 2006-08-04 21:51:56 -0400 (Fri, 04 Aug 2006)
New Revision: 63386
Modified:
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms.VisualStyles/ChangeLog
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms.VisualStyles/VisualStyleRenderer.cs
Log:
2006-08-04 Jonathan Pobst <[EMAIL PROTECTED]>
* VisualStyleRenderer.cs: Fixed null compare that broke the build.
Modified:
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms.VisualStyles/ChangeLog
===================================================================
---
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms.VisualStyles/ChangeLog
2006-08-05 01:17:53 UTC (rev 63385)
+++
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms.VisualStyles/ChangeLog
2006-08-05 01:51:56 UTC (rev 63386)
@@ -1,2 +1,5 @@
2006-08-04 Jonathan Pobst <[EMAIL PROTECTED]>
+ * VisualStyleRenderer.cs: Fixed null compare that broke the build.
+
+2006-08-04 Jonathan Pobst <[EMAIL PROTECTED]>
* System.Windows.Forms.VisualStyles: Initial import.
\ No newline at end of file
Modified:
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms.VisualStyles/VisualStyleRenderer.cs
===================================================================
---
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms.VisualStyles/VisualStyleRenderer.cs
2006-08-05 01:17:53 UTC (rev 63385)
+++
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms.VisualStyles/VisualStyleRenderer.cs
2006-08-05 01:51:56 UTC (rev 63386)
@@ -468,7 +468,7 @@
public void SetParameters (string className, int part, int
state)
{
- if (theme != IntPtr.Zero && theme != null)
+ if (theme != IntPtr.Zero)
last_hresult = UXTheme.CloseThemeData (theme);
if (!IsSupported)
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches