]> git.saurik.com Git - wxWidgets.git/commitdiff
use wxWANTS_CHARS to allow arrows to work inside the control
authorVadim Zeitlin <vadim@wxwidgets.org>
Fri, 4 Apr 2008 22:30:13 +0000 (22:30 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Fri, 4 Apr 2008 22:30:13 +0000 (22:30 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53013 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/msw/calctrl.cpp

index a44ba3ae36a79c357eae35d488561e3a855f8e7e..4a4c4d9ede388d047c251862565e84b65f466caa 100644 (file)
@@ -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;