fixed a few problems detected by Xcode 4.2.1
This commit is contained in:
@@ -544,7 +544,7 @@ CV_IMPL int cvWaitKey (int maxWait)
|
||||
- (void)cvSendMouseEvent:(NSEvent *)event type:(int)type flags:(int)flags {
|
||||
//cout << "cvSendMouseEvent" << endl;
|
||||
NSPoint mp = [NSEvent mouseLocation];
|
||||
NSRect visible = [[self contentView] frame];
|
||||
//NSRect visible = [[self contentView] frame];
|
||||
mp = [self convertScreenToBase: mp];
|
||||
double viewHeight = [self contentView].frame.size.height;
|
||||
double viewWidth = [self contentView].frame.size.width;
|
||||
|
||||
Reference in New Issue
Block a user