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:
@@ -319,14 +319,6 @@ bool wxGLCanvas::Create(wxWindow *parent,
|
|||||||
msflags |= WS_BORDER;
|
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);
|
return MSWCreate(wxGLCanvasClassName, NULL, pos, size, msflags, exStyle);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user