Corrected small mistake (set static variable)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4244 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart 1999-10-28 13:13:35 +00:00
parent ce89fdd22e
commit 8aaef28406

View File

@ -180,6 +180,8 @@ bool wxGLCanvas::Create(wxWindow *parent, wxWindowID id,
// the CS_OWNDC style for GLCanvas.
/*
From Angel Popov <jumpo@bitex.com>
Here are two snips from a dicussion in the OpenGL Gamedev list that explains
how this problem can be fixed:
@ -220,6 +222,7 @@ bool wxGLCanvas::Create(wxWindow *parent, wxWindowID id,
return FALSE;
}
registeredGLCanvasClass = TRUE;
}
wxCHECK_MSG( parent, FALSE, wxT("can't create wxWindow without parent") );