]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/glcanvas.cpp
Updated to new PyCrust
[wxWidgets.git] / src / msw / glcanvas.cpp
index e73a9a9181a1106efe877066eab43a05d9d32c86..0f24a7cff6e3d2ce985e4cc48707b6b40fc0dc50 100644 (file)
@@ -278,7 +278,7 @@ bool wxGLCanvas::Create(wxWindow *parent,
     {
         wxLogLastError(wxT("RegisterClass(wxGLCanvasClassNameNoRedraw)"));
 
-        ::UnregisterClass(wxGLCanvasClass, wxhInstance());
+        ::UnregisterClass(wxGLCanvasClassName, wxhInstance);
 
         return FALSE;
     }