X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4d4c704c3efa76c3066563580fb521fe4cdb1892..25fae923236cb855aad93d293025f4485d76f339:/src/generic/datectlg.cpp diff --git a/src/generic/datectlg.cpp b/src/generic/datectlg.cpp index 5d4e6b0614..3e6d041eb5 100644 --- a/src/generic/datectlg.cpp +++ b/src/generic/datectlg.cpp @@ -34,10 +34,12 @@ #include "wx/valtext.h" #endif +#include "wx/calctrl.h" +#include "wx/combo.h" + #include "wx/datectrl.h" #include "wx/generic/datectrl.h" - // ---------------------------------------------------------------------------- // constants // ---------------------------------------------------------------------------- @@ -376,6 +378,16 @@ wxSize wxDatePickerCtrlGeneric::DoGetBestSize() const return m_combo->GetBestSize(); } +wxWindowList wxDatePickerCtrlGeneric::GetCompositeWindowParts() const +{ + wxWindowList parts; + if (m_combo) + parts.push_back(m_combo); + if (m_popup) + parts.push_back(m_popup); + return parts; +} + // ---------------------------------------------------------------------------- // wxDatePickerCtrlGeneric API // ----------------------------------------------------------------------------