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
This commit is contained in:
Jamie Gadd 2006-02-06 13:44:06 +00:00
parent 93a2619d10
commit 26c2a266cd

View File

@ -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 ||