From 97b53024d41035e737a118a7d5ffb8fa4aa9886d Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Thu, 14 Jun 2007 19:17:31 +0000 Subject: [PATCH] Fixed typo --- include/osgViewer/GraphicsWindow | 6 +++--- src/osgWrappers/osgViewer/GraphicsWindow.cpp | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/include/osgViewer/GraphicsWindow b/include/osgViewer/GraphicsWindow index bee62e7e9..6ff0f1ba1 100644 --- a/include/osgViewer/GraphicsWindow +++ b/include/osgViewer/GraphicsWindow @@ -235,14 +235,14 @@ class GraphicsWindowEmbedded : public GraphicsWindow virtual void grabFocusIfPointerInWindow() {} }; -struct GrapicsWindowFunctionProxy +struct GraphicsWindowFunctionProxy { - GrapicsWindowFunctionProxy(CGraphicsWindowFunction function) { (function)(); } + GraphicsWindowFunctionProxy(CGraphicsWindowFunction function) { (function)(); } }; #define USE_GRAPICSWINDOW_IMPLEMENTATION(ext) \ extern "C" void graphicswindow_##ext(void); \ - static osgViewer::GrapicsWindowFunctionProxy graphicswindowproxy_##ext(graphicswindow_##ext); + static osgViewer::GraphicsWindowFunctionProxy graphicswindowproxy_##ext(graphicswindow_##ext); #if defined(_WIN32) #define USE_GRAPHICSWINDOW() USE_GRAPICSWINDOW_IMPLEMENTATION(Win32) diff --git a/src/osgWrappers/osgViewer/GraphicsWindow.cpp b/src/osgWrappers/osgViewer/GraphicsWindow.cpp index 9efd1ecd6..5aad3045a 100644 --- a/src/osgWrappers/osgViewer/GraphicsWindow.cpp +++ b/src/osgWrappers/osgViewer/GraphicsWindow.cpp @@ -294,11 +294,11 @@ BEGIN_OBJECT_REFLECTOR(osgViewer::GraphicsWindowEmbedded) ""); END_REFLECTOR -BEGIN_VALUE_REFLECTOR(osgViewer::GrapicsWindowFunctionProxy) +BEGIN_VALUE_REFLECTOR(osgViewer::GraphicsWindowFunctionProxy) I_DeclaringFile("osgViewer/GraphicsWindow"); I_Constructor1(IN, CGraphicsWindowFunction, function, Properties::NON_EXPLICIT, - ____GrapicsWindowFunctionProxy__CGraphicsWindowFunction, + ____GraphicsWindowFunctionProxy__CGraphicsWindowFunction, "", ""); END_REFLECTOR