From: Vadim Zeitlin <vadim@wxwidgets.org>
Date: Mon, 8 Oct 2001 15:01:27 +0000 (+0000)
Subject: compilation fix
X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/85da9c3e350007d82528b6165a2f3a018e47dff6?ds=inline

compilation fix


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11884 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
---

diff --git a/src/msw/glcanvas.cpp b/src/msw/glcanvas.cpp
index e73a9a9181..d6d33ffab7 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;
     }