Index: OpenSceneGraph/trunk/src/osgViewer/DarwinUtils.h
===================================================================
--- OpenSceneGraph/trunk/src/osgViewer/DarwinUtils.h (revision 10208)
+++ OpenSceneGraph/trunk/src/osgViewer/DarwinUtils.h (revision 11207)
@@ -91,5 +91,7 @@
     
     protected:
-    
+
+        virtual void _init();
+
         /** implementation of setScreenResolution */
         bool setScreenResolutionImpl(const osg::GraphicsContext::ScreenIdentifier& screenIdentifier, unsigned int width, unsigned int height) ;
@@ -118,4 +120,6 @@
     
     private:
+
+        bool                  _initialized;
         CGDisplayCount        _displayCount;
         CGDirectDisplayID*    _displayIds;
