X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/85da9c3e350007d82528b6165a2f3a018e47dff6..9f51f2b678a4fc689191536720e27303ec22c85b:/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; }