Index: OpenSceneGraph/trunk/include/osgViewer/api/Cocoa/GraphicsWindowCocoa
===================================================================
--- OpenSceneGraph/trunk/include/osgViewer/api/Cocoa/GraphicsWindowCocoa (revision 10456)
+++ OpenSceneGraph/trunk/include/osgViewer/api/Cocoa/GraphicsWindowCocoa (revision 10887)
@@ -37,4 +37,5 @@
 
 #include <osgViewer/GraphicsWindow>
+#include <osgViewer/api/Cocoa/GraphicsHandleCocoa>
 
 // we may not include any cocoa-header here, because this will pollute the name-sapce and tend to compile-errors
@@ -43,5 +44,5 @@
 {
 
-class GraphicsWindowCocoa : public osgViewer::GraphicsWindow
+class GraphicsWindowCocoa : public osgViewer::GraphicsWindow, public osgViewer::GraphicsHandleCocoa
 {
     public:
@@ -49,4 +50,6 @@
 
         GraphicsWindowCocoa(osg::GraphicsContext::Traits* traits):
+            osgViewer::GraphicsWindow(),
+            osgViewer::GraphicsHandleCocoa(),
             _valid(false),
             _initialized(false),
@@ -56,6 +59,5 @@
             _ownsWindow(true),
             _currentCursor(RightArrowCursor),
-            _window(NULL),
-            _context(NULL)
+            _window(NULL)
         {
             _traits = traits;
