]> git.saurik.com Git - wxWidgets.git/commitdiff
Corrected small mistake (set static variable)
authorJulian Smart <julian@anthemion.co.uk>
Thu, 28 Oct 1999 13:13:35 +0000 (13:13 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Thu, 28 Oct 1999 13:13:35 +0000 (13:13 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4244 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

utils/glcanvas/win/glcanvas.cpp

index fd1e1ef44baeb9b2e15c3e106d5f98fee5769b9d..48651358b60b37257350bd635f8fbda857d4a9c2 100644 (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") );