]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/datectlg.cpp
add alt popup window style allowing to use keyboard and comboboxes in the popup windo...
[wxWidgets.git] / src / generic / datectlg.cpp
index d22073d67e178bcee13029eb1621315f71b80c5c..b75484ed05ad5a210fcc7b1426f18ad309feee43 100644 (file)
@@ -414,6 +414,10 @@ bool wxDatePickerCtrlGeneric::Create(wxWindow *parent,
 
     m_popup = new wxCalendarComboPopup();
 
+#if defined(__WXMSW__)
+    // without this keyboard navigation in month control doesn't work
+    m_combo->UseAltPopupWindow();
+#endif
     m_combo->SetPopupControl(m_popup);
 
     m_cal = m_popup;