also, disable the call do BindColumns in
[mono.git] / mcs / class / Managed.Windows.Forms / System.Windows.Forms / ThemeGtk.cs
index e4df200dc3906b76007f100c8a07b0d72ecba994..90aa89eaf343050abf15aa9f9c076b5c7da7f495 100644 (file)
@@ -383,7 +383,6 @@ namespace System.Windows.Forms
                {
                        Console.WriteLine ("ThemeGtk constructor");
                        InitGtk ();
-                       default_font =  new Font (FontFamily.GenericSansSerif, 8.25f);
                        
                        LoadSysDefaultColors ();        
 
@@ -609,7 +608,7 @@ namespace System.Windows.Forms
                        Rectangle buttonRectangle = button.ClientRectangle;
                        
                        StateType state_type = StateType.Normal;
-                       ShadowType shadow_type = button.flat_style == FlatStyle.Flat ? ShadowType.In : ShadowType.Out;
+                       ShadowType shadow_type = button.FlatStyle == FlatStyle.Flat ? ShadowType.In : ShadowType.Out;
                        string detail = "buttondefault";
                        
                        if (((button is CheckBox) && (((CheckBox)button).check_state == CheckState.Checked)) ||
@@ -633,7 +632,7 @@ namespace System.Windows.Forms
                        if (button.Focused)
                                gtk_widget_grab_focus (global_gtk_button);
                        
-                       if (button.flat_style == FlatStyle.Flat)
+                       if (button.FlatStyle == FlatStyle.Flat)
                                gtk_paint_flat_box (current_style,
                                                    current_gdk_drawable,
                                                    (int) state_type,
@@ -644,7 +643,7 @@ namespace System.Windows.Forms
                                                    buttonRectangle.X, buttonRectangle.Y,
                                                    buttonRectangle.Width, buttonRectangle.Height);
                        else
-                       if (button.flat_style != FlatStyle.Popup || (button.flat_style == FlatStyle.Popup && button.is_entered))
+                       if (button.FlatStyle != FlatStyle.Popup || (button.FlatStyle == FlatStyle.Popup && button.is_entered))
                                gtk_paint_box (current_style,
                                               current_gdk_drawable,
                                               (int) state_type,