Fixed: an ivar was not being properly initialized in CPAlert.

This commit is contained in:
Alexander Ljungberg committed 2010-08-24 14:00:12 -04:00
1 parent aef19c3b13
commit 65d957f9f5
1 file changed
+1 -3
+1 -3
View File
@@ -127,7 +127,7 @@ CPCriticalAlertStyle = 2;
_alertStyle = CPWarningAlertStyle;
_alertPanel = nil;
_windowStyle = nil;
_alertDidEndSelector = nil;
_didEndSelector = nil;
_messageLabel = [[CPTextField alloc] initWithFrame:CGRectMakeZero()];
_alertImageView = [[CPImageView alloc] initWithFrame:CGRectMakeZero()];
@@ -252,8 +252,6 @@ CPCriticalAlertStyle = 2;
- (void)setInformativeText:(CPString)informativeText
{
[_informativeLabel setStringValue:informativeText];
// No need to call _layoutMessage - only the length of the messageText
// can affect anything there.
}
/*!