From Brad Christiansen, "The small change I have made (against this morning's trunk) enables subclasses to register and unregister windows via protected methods. I need this access as I have a subclass that handles some of the oddities of mixing a native OpenGL window with Java's windowing system. I doubt there will be much general benefit of the modification but it should also not be harmful in any way to others."
This commit is contained in:
@@ -1334,6 +1334,16 @@ void GraphicsWindowWin32::destroyWindow( bool deleteNativeWindow )
|
||||
_destroying = false;
|
||||
}
|
||||
|
||||
void GraphicsWindowWin32::registerWindow()
|
||||
{
|
||||
Win32WindowingSystem::getInterface()->registerWindow(_hwnd, this);
|
||||
}
|
||||
|
||||
void GraphicsWindowWin32::unregisterWindow()
|
||||
{
|
||||
Win32WindowingSystem::getInterface()->unregisterWindow(_hwnd);
|
||||
}
|
||||
|
||||
bool GraphicsWindowWin32::registerWindowProcedure()
|
||||
{
|
||||
::SetLastError(0);
|
||||
|
||||
Reference in New Issue
Block a user