compilation fix after m_lDlgCode removal

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14027 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2002-02-06 13:41:28 +00:00
parent 997200451b
commit 6540eefca7

View File

@@ -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);
}