X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4a40cd9bae5e4e76fadb6188b399905028a02bc7..95912bdddeb21afe1cabc0401c0f8b8475a5e5c6:/src/generic/datectlg.cpp diff --git a/src/generic/datectlg.cpp b/src/generic/datectlg.cpp index a862229255..3e6d041eb5 100644 --- a/src/generic/datectlg.cpp +++ b/src/generic/datectlg.cpp @@ -38,6 +38,7 @@ #include "wx/combo.h" #include "wx/datectrl.h" +#include "wx/generic/datectrl.h" // ---------------------------------------------------------------------------- // constants @@ -377,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 // ----------------------------------------------------------------------------