Fixed typo
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user