X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/88def1632ebda838783eb28ad88bdaa179640914..8a31648287be0ef976f133de2786b137f1e98340:/src/generic/datectlg.cpp diff --git a/src/generic/datectlg.cpp b/src/generic/datectlg.cpp index f45dba82ab..7ee0b66c88 100644 --- a/src/generic/datectlg.cpp +++ b/src/generic/datectlg.cpp @@ -385,10 +385,8 @@ wxSize wxDatePickerCtrlGeneric::DoGetBestSize() const wxWindowList wxDatePickerCtrlGeneric::GetCompositeWindowParts() const { wxWindowList parts; - if (m_combo) - parts.push_back(m_combo); - if (m_popup) - parts.push_back(m_popup); + parts.push_back(m_combo); + parts.push_back(m_popup); return parts; }