]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/glcanvas.cpp
Mutiple updates from SciTech for wxWindows including the following:
[wxWidgets.git] / src / msw / glcanvas.cpp
index d6d33ffab7e5b002019a4e440f53ff9b8900a3da..0f24a7cff6e3d2ce985e4cc48707b6b40fc0dc50 100644 (file)
@@ -278,7 +278,7 @@ bool wxGLCanvas::Create(wxWindow *parent,
     {
         wxLogLastError(wxT("RegisterClass(wxGLCanvasClassNameNoRedraw)"));
 
     {
         wxLogLastError(wxT("RegisterClass(wxGLCanvasClassNameNoRedraw)"));
 
-        ::UnregisterClass(wxGLCanvasClassName, wxhInstance());
+        ::UnregisterClass(wxGLCanvasClassName, wxhInstance);
 
         return FALSE;
     }
 
         return FALSE;
     }