diff --git a/src/msw/window.cpp b/src/msw/window.cpp index 88ec734530..422745e451 100644 --- a/src/msw/window.cpp +++ b/src/msw/window.cpp @@ -1113,6 +1113,10 @@ bool wxCheckWindowWndProc(WXHWND hWnd, wxString str(wxGetWindowClass(hWnd)); if (str == wxCanvasClassName || str == wxCanvasClassNameNR || +#if wxUSE_GLCANVAS + str == _T("wxGLCanvasClass") || + str == _T("wxGLCanvasClassNR") || +#endif // wxUSE_GLCANVAS str == wxMDIFrameClassName || str == wxMDIFrameClassNameNoRedraw || str == wxMDIChildFrameClassName ||