Index: OpenSceneGraph/trunk/src/osgViewer/DarwinUtils.mm
===================================================================
--- OpenSceneGraph/trunk/src/osgViewer/DarwinUtils.mm (revision 10417)
+++ OpenSceneGraph/trunk/src/osgViewer/DarwinUtils.mm (revision 10622)
@@ -17,6 +17,6 @@
 }
 
--(void) show: (ID) data;
--(void) hide: (ID) data;
+-(void) show: (id) data;
+-(void) hide: (id) data;
 
 @end
@@ -26,5 +26,5 @@
 
 
--(void) hide:(ID) data 
+-(void) hide:(id) data 
 {
     OSErr error = SetSystemUIMode(kUIModeAllHidden, kUIOptionAutoShowMenuBar);
@@ -35,5 +35,5 @@
 
 
--(void) show:(ID) data 
+-(void) show:(id) data 
 {
     OSErr error = SetSystemUIMode(kUIModeNormal, 0);
@@ -282,6 +282,6 @@
         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<numberOfAvailableModes; ++i) {
@@ -327,12 +327,12 @@
 bool DarwinWindowingSystemInterface::setScreenResolutionImpl(const osg::GraphicsContext::ScreenIdentifier& screenIdentifier, unsigned int width, unsigned int height) 
 { 
-    CGDirectDisplayID displayID = getDisplayID(screenIdentifier);
+    CGDirectDisplayID displayid = getDisplayID(screenIdentifier);
     
     // add next line and on following line replace hard coded depth and refresh rate
-    CGRefreshRate refresh =  getDictDouble (CGDisplayCurrentMode(displayID), kCGDisplayRefreshRate);  
+    CGRefreshRate refresh =  getDictDouble (CGDisplayCurrentMode(displayid), kCGDisplayRefreshRate);  
     CFDictionaryRef display_mode_values =
         CGDisplayBestModeForParametersAndRefreshRate(
-                        displayID, 
-                        CGDisplayBitsPerPixel(displayID), 
+                        displayid, 
+                        CGDisplayBitsPerPixel(displayid), 
                         width, height,  
                         refresh,  
@@ -340,5 +340,5 @@
 
                                       
-    CGDisplaySwitchToMode(displayID, display_mode_values);    
+    CGDisplaySwitchToMode(displayid, display_mode_values);    
     return true; 
 }
@@ -351,11 +351,11 @@
     getScreenResolution(screenIdentifier, width, height);
     
-    CGDirectDisplayID displayID = getDisplayID(screenIdentifier);
+    CGDirectDisplayID displayid = getDisplayID(screenIdentifier);
     
     // add next line and on following line replace hard coded depth and refresh rate
     CFDictionaryRef display_mode_values =
         CGDisplayBestModeForParametersAndRefreshRate(
-                        displayID, 
-                        CGDisplayBitsPerPixel(displayID), 
+                        displayid, 
+                        CGDisplayBitsPerPixel(displayid), 
                         width, height,  
                         refreshRate,  
@@ -364,5 +364,5 @@
                                       
     if (success)
-        CGDisplaySwitchToMode(displayID, display_mode_values);    
+        CGDisplaySwitchToMode(displayid, display_mode_values);    
         
     return (success != 0);
