- *m_pString = pControl->GetLabel() ;
- return TRUE;
- }
- }
- else
-#if wxUSE_COMBOBOX
- if (m_validatorWindow->IsKindOf(CLASSINFO(wxComboBox)) )
- {
- wxComboBox* pControl = (wxComboBox*) m_validatorWindow;
- if (m_pInt)
+ wxSlider* pControl = (wxSlider*) m_validatorWindow;
+ if (m_pInt)
+ {
+ *m_pInt = pControl->GetValue() ;
+ return true;
+ }
+ } else
+#endif
+
+ // DATE TIME CONTROLS ************************************
+#if 0 // wxUSE_DATEPICKCTRL -- temporary fix for shared build linking
+ if (m_validatorWindow->IsKindOf(CLASSINFO(wxDatePickerCtrl)) )
+ {
+ wxDatePickerCtrl* pControl = (wxDatePickerCtrl*) m_validatorWindow;
+ if (m_pDateTime)
+ {
+ *m_pDateTime = pControl->GetValue() ;
+ return true;
+ }
+ } else
+#endif
+
+ // STRING CONTROLS ************************************
+#if wxUSE_BUTTON
+ if (m_validatorWindow->IsKindOf(CLASSINFO(wxButton)) )