]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/datectlg.cpp
Add markup support to wxMSW wxButton and show it in the sample.
[wxWidgets.git] / src / generic / datectlg.cpp
index c5b7b84a53343cd256140eee8929ce177289ef63..3e6d041eb511571811ee04c178043d5501833cca 100644 (file)
@@ -378,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
 // ----------------------------------------------------------------------------