return true;
}
} else
-#if defined(__WXMAC__) || defined(__WXGTK20__)
+#if (defined(__WXMAC__) || defined(__WXMSW__) || defined(__WXGTK20__)) && !defined(__WXUNIVERSAL__)
if (m_validatorWindow->IsKindOf(CLASSINFO(wxBitmapToggleButton)) )
{
wxBitmapToggleButton * pControl = (wxBitmapToggleButton *) m_validatorWindow;
#endif
// date time controls
-#if wxUSE_DATEPICKCTRL
+#if 0 // wxUSE_DATEPICKCTRL -- temporary fix for shared build linking
if (m_validatorWindow->IsKindOf(CLASSINFO(wxDatePickerCtrl)) )
{
wxDatePickerCtrl* pControl = (wxDatePickerCtrl*) m_validatorWindow;
}
} else
#endif
- ; // to match the last 'else' above
+ { // to match the last 'else' above
+ }
// unrecognized control, or bad pointer
return false;
return true;
}
} else
+#if (defined(__WXMAC__) || defined(__WXMSW__) || defined(__WXGTK20__)) && !defined(__WXUNIVERSAL__)
+ if (m_validatorWindow->IsKindOf(CLASSINFO(wxBitmapToggleButton)) )
+ {
+ wxBitmapToggleButton *pControl = (wxBitmapToggleButton *) m_validatorWindow;
+ if (m_pBool)
+ {
+ *m_pBool = pControl->GetValue() ;
+ return true;
+ }
+ } else
+#endif
#endif
// INT CONTROLS ***************************************
#endif
// DATE TIME CONTROLS ************************************
-#if wxUSE_DATEPICKCTRL
+#if 0 // wxUSE_DATEPICKCTRL -- temporary fix for shared build linking
if (m_validatorWindow->IsKindOf(CLASSINFO(wxDatePickerCtrl)) )
{
wxDatePickerCtrl* pControl = (wxDatePickerCtrl*) m_validatorWindow;