diff --git a/src/osgViewer/DarwinUtils.mm b/src/osgViewer/DarwinUtils.mm index f8d59f7d3..fa909d09e 100755 --- a/src/osgViewer/DarwinUtils.mm +++ b/src/osgViewer/DarwinUtils.mm @@ -16,8 +16,8 @@ } --(void) show: (ID) data; --(void) hide: (ID) data; +-(void) show: (id) data; +-(void) hide: (id) data; @end @@ -25,7 +25,7 @@ --(void) hide:(ID) data +-(void) hide:(id) data { OSErr error = SetSystemUIMode(kUIModeAllHidden, kUIOptionAutoShowMenuBar); if (error) { @@ -34,7 +34,7 @@ } --(void) show:(ID) data +-(void) show:(id) data { OSErr error = SetSystemUIMode(kUIModeNormal, 0); if (error) { @@ -281,8 +281,8 @@ void DarwinWindowingSystemInterface::enumerateScreenSettings(const osg::Graphics // Warning! This method has not been tested. resolutionList.clear(); - CGDirectDisplayID displayID = getDisplayID(screenIdentifier); - CFArrayRef availableModes = CGDisplayAvailableModes(displayID); + CGDirectDisplayID displayid = getDisplayID(screenIdentifier); + CFArrayRef availableModes = CGDisplayAvailableModes(displayid); unsigned int numberOfAvailableModes = CFArrayGetCount(availableModes); for (unsigned int i=0; i