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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user