From d6f04127fe1b3a9008605b22419af78eba5ae857 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Fri, 4 Apr 2008 22:30:13 +0000 Subject: [PATCH] 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 --- src/msw/calctrl.cpp | 3 +++ 1 file changed, 3 insertions(+) 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; -- 2.45.2