X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/85da9c3e350007d82528b6165a2f3a018e47dff6..3baaf31317b1380ba9f33f8a23ff04bd20356d63:/src/msw/glcanvas.cpp 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; }