Take care of compiler warning in MMTextView

This commit is contained in:
Bjorn Winckler
2008-03-13 21:45:12 +01:00
parent 8574b2152c
commit eef4ba19a6
2 changed files with 7 additions and 6 deletions
+1
View File
@@ -40,6 +40,7 @@
fraction:(int)percent color:(NSColor *)color;
- (void)hideMarkedTextField;
- (void)performBatchDrawWithData:(NSData *)data;
- (void)setMouseShape:(int)shape;
//
// MMTextStorage methods
+6 -6
View File
@@ -328,6 +328,12 @@ enum {
#endif
}
- (void)setMouseShape:(int)shape
{
mouseShape = shape;
[self setCursor];
}
- (NSFont *)font
{
return [(MMTextStorage*)[self textStorage] font];
@@ -1101,12 +1107,6 @@ enum {
// The font panel is updated whenever the font is set.
}
- (void)setMouseShape:(int)shape
{
mouseShape = shape;
[self setCursor];
}
@end // MMTextView