#include <OpenGl_GraphicDriver.hxx>
#include <TCollection_AsciiString.hxx>
-Handle(V3d_Viewer) DocumentCommon::Viewer( const Standard_CString /*aDisplay*/,
+Handle(V3d_Viewer) DocumentCommon::Viewer( const Standard_CString aDisplay,
const Standard_ExtString aName,
const Standard_CString aDomain,
const Standard_Real ViewSize,
Handle(Aspect_DisplayConnection) aDisplayConnection;
#if !defined(_WIN32) && !defined(__WIN32__) && (!defined(__APPLE__) || defined(MACOSX_USE_GLX))
aDisplayConnection = new Aspect_DisplayConnection (aDisplay);
+#else
+ (void)aDisplay; // avoid compiler warning on unused argument
#endif
aGraphicDriver = new OpenGl_GraphicDriver (aDisplayConnection);
}