]> git.saurik.com Git - wxWidgets.git/commitdiff
another compilation fix
authorVadim Zeitlin <vadim@wxwidgets.org>
Mon, 8 Oct 2001 15:42:07 +0000 (15:42 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Mon, 8 Oct 2001 15:42:07 +0000 (15:42 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11885 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/msw/glcanvas.cpp

index d6d33ffab7e5b002019a4e440f53ff9b8900a3da..0f24a7cff6e3d2ce985e4cc48707b6b40fc0dc50 100644 (file)
@@ -278,7 +278,7 @@ bool wxGLCanvas::Create(wxWindow *parent,
     {
         wxLogLastError(wxT("RegisterClass(wxGLCanvasClassNameNoRedraw)"));
 
-        ::UnregisterClass(wxGLCanvasClassName, wxhInstance());
+        ::UnregisterClass(wxGLCanvasClassName, wxhInstance);
 
         return FALSE;
     }