From: Vadim Zeitlin Date: Fri, 4 Apr 2008 22:30:13 +0000 (+0000) Subject: use wxWANTS_CHARS to allow arrows to work inside the control X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/d6f04127fe1b3a9008605b22419af78eba5ae857 use wxWANTS_CHARS to allow arrows to work inside the control git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53013 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/msw/calctrl.cpp b/src/msw/calctrl.cpp index a44ba3ae36..4a4c4d9ede 100644 --- a/src/msw/calctrl.cpp +++ b/src/msw/calctrl.cpp @@ -56,6 +56,9 @@ wxCalendarCtrl::Create(wxWindow *parent, if ( !wxMSWDateControls::CheckInitialization() ) return false; + // we need the arrows for the navigation + style |= wxWANTS_CHARS; + // initialize the base class if ( !CreateControl(parent, id, pos, size, style, wxDefaultValidator, name) ) return false;