From: Vadim Zeitlin Date: Mon, 8 Oct 2001 15:42:07 +0000 (+0000) Subject: another compilation fix X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/a8d20c57aec929ec861194892784143fe2e74125 another compilation fix git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11885 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/msw/glcanvas.cpp b/src/msw/glcanvas.cpp index d6d33ffab7..0f24a7cff6 100644 --- a/src/msw/glcanvas.cpp +++ b/src/msw/glcanvas.cpp @@ -278,7 +278,7 @@ bool wxGLCanvas::Create(wxWindow *parent, { wxLogLastError(wxT("RegisterClass(wxGLCanvasClassNameNoRedraw)")); - ::UnregisterClass(wxGLCanvasClassName, wxhInstance()); + ::UnregisterClass(wxGLCanvasClassName, wxhInstance); return FALSE; }