Skip to content

Commit

Permalink
* Control.cs: Don't try to set the border style on the window if
Browse files Browse the repository at this point in the history
	it hasn't been created. When the window is created the border
	style will be used.
        

svn path=/trunk/mcs/; revision=50429
  • Loading branch information
Jackson Harper committed Sep 21, 2005
1 parent f0944a5 commit e567046
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
2005-09-21 Jackson Harper <jackson@ximian.com>

* Control.cs: Don't try to set the border style on the window if
it hasn't been created. When the window is created the border
style will be used.

2005-09-21 Peter Dennis Bartok <pbartok@novell.com>

* Control.cs (Update): Don't call XplatUI if we don't have a
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -628,7 +628,9 @@ internal BorderStyle InternalBorderStyle {
if (border_style != value) {
border_style = value;

XplatUI.SetBorderStyle(window.Handle, border_style);
if (IsHandleCreated)
XplatUI.SetBorderStyle(window.Handle,
border_style);
}
}
}
Expand Down

0 comments on commit e567046

Please sign in to comment.