]> 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 5d4e6b0614655810b28814677b5c496ccd4937c3..3e6d041eb511571811ee04c178043d5501833cca 100644 (file)
     #include "wx/valtext.h"
 #endif
 
+#include "wx/calctrl.h"
+#include "wx/combo.h"
+
 #include "wx/datectrl.h"
 #include "wx/generic/datectrl.h"
 
-
 // ----------------------------------------------------------------------------
 // constants
 // ----------------------------------------------------------------------------
@@ -376,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
 // ----------------------------------------------------------------------------