- Fix from John BouAntoun: Now properly sets the Appearance property
authorPeter Dennis Bartok <pbartok@mono-cvs.ximian.com>
Wed, 13 Oct 2004 02:46:22 +0000 (02:46 -0000)
committerPeter Dennis Bartok <pbartok@mono-cvs.ximian.com>
Wed, 13 Oct 2004 02:46:22 +0000 (02:46 -0000)
svn path=/trunk/mcs/; revision=34938

mcs/class/Managed.Windows.Forms/System.Windows.Forms/CheckBox.cs

index 51fd6af77465edceaab38c1ac5585a1069bc8e84..bdd1964fcfe30392d51d77b2559c5c04204cafdb 100644 (file)
@@ -25,6 +25,9 @@
 //
 //
 // $Log: CheckBox.cs,v $
+// Revision 1.8  2004/10/13 02:46:22  pbartok
+// - Fix from John BouAntoun: Now properly sets the Appearance property
+//
 // Revision 1.7  2004/09/28 18:44:25  pbartok
 // - Streamlined Theme interfaces:
 //   * Each DrawXXX method for a control now is passed the object for the
@@ -91,7 +94,7 @@ namespace System.Windows.Forms {
 
                        set {
                                if (value != appearance) {
-                                       value = appearance;
+                                       appearance = value;
                                        if (AppearanceChanged != null) {
                                                AppearanceChanged(this, EventArgs.Empty);
                                        }