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
This commit is contained in:
Vadim Zeitlin
2008-04-04 22:30:13 +00:00
parent 8354b47d96
commit d6f04127fe

View 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;