let wxSpinCtrl process the enter key
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10425 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
39c26ef2d7
commit
f51a6f6a0c
@ -248,6 +248,8 @@ bool wxSpinCtrl::Create(wxWindow *parent,
|
||||
if ( style & wxCLIP_SIBLINGS )
|
||||
msStyle |= WS_CLIPSIBLINGS;
|
||||
|
||||
// we want to get WXK_RETURN in order to generate the event for it
|
||||
m_lDlgCode = DLGC_WANTCHARS;
|
||||
|
||||
// create the text window
|
||||
m_hwndBuddy = (WXHWND)::CreateWindowEx
|
||||
|
Loading…
Reference in New Issue
Block a user