added back SetCurrent() call accidentally removed in one of recent commits

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45481 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2007-04-15 15:23:05 +00:00
parent bc521497d3
commit e559e76ed9

View File

@ -146,6 +146,8 @@ TestGLContext& MyApp::GetContext(wxGLCanvas *canvas)
{
if ( !m_glContext )
m_glContext = new TestGLContext(canvas);
else
m_glContext->SetCurrent(*canvas);
return *m_glContext;
}