added dealloc

This commit is contained in:
Jeena Paradies 2009-12-16 01:49:42 +01:00
parent 2aee2a65a9
commit 29a59372ec
9 changed files with 15 additions and 0 deletions

15
Timer.m
View file

@ -55,6 +55,21 @@
return self; return self;
} }
- (void)dealloc {
[digits release];
[colon release];
[no_colon release];
[start_button release];
[pause_button release];
[alarm_button release];
[clickSound release];
[clearSound release];
[super dealloc];
}
- (void)applicationLoaded:(id)sender { - (void)applicationLoaded:(id)sender {
[(NSButtonCell *)[hour1 cell] setHighlightsBy:NSContentsCellMask]; [(NSButtonCell *)[hour1 cell] setHighlightsBy:NSContentsCellMask];
[(NSButtonCell *)[hour2 cell] setHighlightsBy:NSContentsCellMask]; [(NSButtonCell *)[hour2 cell] setHighlightsBy:NSContentsCellMask];