X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b225f65995e9eccefe9b502568b1b8e40629cd1a..3baaf31317b1380ba9f33f8a23ff04bd20356d63:/src/msw/glcanvas.cpp diff --git a/src/msw/glcanvas.cpp b/src/msw/glcanvas.cpp index e73a9a9181..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(wxGLCanvasClass, wxhInstance()); + ::UnregisterClass(wxGLCanvasClassName, wxhInstance); return FALSE; }