From 26c2a266cdd960b854679286e043716359d8997b Mon Sep 17 00:00:00 2001 From: Jamie Gadd Date: Mon, 6 Feb 2006 13:44:06 +0000 Subject: [PATCH] Add check for wxGLCanvas to wxCheckWindowWndProc. Fixes bug #1425106. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37350 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/msw/window.cpp | 4 ++++ 1 file changed, 4 insertions(+) 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 ||