Fixed bug with closable button in CPWindow

This commit is contained in:
Alexandre Wilhelm
2013-01-09 14:43:33 -08:00
parent 51d6ba98d7
commit f8e72504e5
+1
View File
@@ -180,6 +180,7 @@ var _CPStandardWindowViewBodyBackgroundColor = nil,
{
_closeButton = [[CPButton alloc] initWithFrame:CGRectMake(8.0, 8.0, 16.0, 16.0)];
[_closeButton setButtonType:CPMomentaryChangeButton];
[_closeButton setBordered:NO];
[self _updateCloseButton];