Changeset 37115 in vbox
- Timestamp:
- May 16, 2011 10:44:58 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/platform/darwin/UICocoaSpecialControls.mm
r35874 r37115 45 45 UICocoaButton *mRealTarget; 46 46 } 47 -(id)initWithObject:(UICocoaButton*)object; 47 /* The next method used to be called initWithObject, but Xcode 4.1 preview 5 48 cannot cope with that for some reason. Hope this doesn't break anything... */ 49 -(id)initWithObjectAndLionTrouble:(UICocoaButton*)object; 48 50 -(IBAction)clicked:(id)sender; 49 51 @end … … 83 85 */ 84 86 @implementation UIButtonTargetPrivate 85 -(id)initWithObject :(UICocoaButton*)object87 -(id)initWithObjectAndLionTrouble:(UICocoaButton*)object 86 88 { 87 89 self = [super init]; … … 293 295 } 294 296 295 UIButtonTargetPrivate *bt = [[UIButtonTargetPrivate alloc] initWithObject :this];297 UIButtonTargetPrivate *bt = [[UIButtonTargetPrivate alloc] initWithObjectAndLionTrouble:this]; 296 298 [m_pNativeRef setTarget:bt]; 297 299 [m_pNativeRef setAction:@selector(clicked:)];
Note:
See TracChangeset
for help on using the changeset viewer.