X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4a40cd9bae5e4e76fadb6188b399905028a02bc7..e8fd252ef87d8ff6409d405218ff02c91b980e0a:/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 // ----------------------------------------------------------------------------