Skip to content

Commit 5d03262

Browse files
author
Jaime O. Rios
committed
Added message about 32-bit Obj-C to all @synthesize sections.
1 parent 10651d4 commit 5d03262

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

modules/highgui/src/window_cocoa.mm

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -708,7 +708,7 @@ @implementation CVWindow
708708
@synthesize firstContent;
709709
@synthesize sliders;
710710
@synthesize status;
711-
#else
711+
#else // 32-bit Obj-C does not have automatic synthesize
712712
@synthesize mouseCallback = _mouseCallback;
713713
@synthesize mouseParam = _mouseParam;
714714
@synthesize autosize = _autosize;
@@ -745,7 +745,7 @@ - (void)cvSendMouseEvent:(NSEvent *)event type:(int)type flags:(int)flags {
745745

746746
- (void)cvMouseEvent:(NSEvent *)event {
747747
//cout << "cvMouseEvent" << endl;
748-
748+
749749
if([self mouseCallback] == nil)
750750
return;
751751

@@ -864,7 +864,7 @@ - (CVView *)contentView {
864864
@implementation CVView
865865
#if defined(__LP64__)
866866
@synthesize image;
867-
#else
867+
#else // 32-bit Obj-C does not have automatic synthesize
868868
@synthesize image = _image;
869869
#endif
870870

@@ -1000,8 +1000,7 @@ @implementation CVSlider
10001000
@synthesize userData;
10011001
@synthesize callback;
10021002
@synthesize callback2;
1003-
#else
1004-
// 32-bit Obj-C does not have automatic synthesize
1003+
#else // 32-bit Obj-C does not have automatic synthesize
10051004
@synthesize slider = _slider;
10061005
@synthesize name = _name;
10071006
@synthesize value = _value;

0 commit comments

Comments
 (0)