+#if wxUSE_SPINCTRL && !defined(__WIN16__) && !defined(__WXMOTIF__)
+ if (m_validatorWindow->IsKindOf(CLASSINFO(wxSpinCtrl)) )
+ {
+ wxSpinCtrl* pControl = (wxSpinCtrl*) m_validatorWindow;
+ if (m_pInt)
+ {
+ *m_pInt=pControl->GetValue();
+ return TRUE;
+ }
+ } else
+#endif
+#if wxUSE_SPINBTN && !defined(__WIN16__)