]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/datectlg.cpp
always skip OnSize
[wxWidgets.git] / src / generic / datectlg.cpp
index a86222925545bef367daa5a89a6e75efb54b43da..3e6d041eb511571811ee04c178043d5501833cca 100644 (file)
@@ -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
 // ----------------------------------------------------------------------------