From: Vadim Zeitlin <vadim@wxwidgets.org> Date: Wed, 6 Feb 2002 13:41:28 +0000 (+0000) Subject: compilation fix after m_lDlgCode removal X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/6540eefca769382fe0eb926fe40ae14405e440f3 compilation fix after m_lDlgCode removal git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14027 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/msw/glcanvas.cpp b/src/msw/glcanvas.cpp index 3b03757338..97cb556e37 100644 --- a/src/msw/glcanvas.cpp +++ b/src/msw/glcanvas.cpp @@ -319,14 +319,6 @@ bool wxGLCanvas::Create(wxWindow *parent, msflags |= WS_BORDER; } - // calculate the value to return from WM_GETDLGCODE handler - if ( GetWindowStyleFlag() & wxWANTS_CHARS ) - { - // want everything: i.e. all keys and WM_CHAR message - m_lDlgCode = DLGC_WANTARROWS | DLGC_WANTCHARS | - DLGC_WANTTAB | DLGC_WANTMESSAGE; - } - return MSWCreate(wxGLCanvasClassName, NULL, pos, size, msflags, exStyle); }