// Author: Kevin Smith
// Modified by:
// Created: Jan 22 1999
-// RCS-ID:
+// RCS-ID:
// Copyright: (c) 1999 Kevin Smith
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
return TRUE;
}
}
- else
+ else
#endif
#if wxUSE_RADIOBOX
if (m_validatorWindow->IsKindOf(CLASSINFO(wxRadioBox)) )
return TRUE;
}
}
- else
+ else
#endif
#if wxUSE_SCROLLBAR
if (m_validatorWindow->IsKindOf(CLASSINFO(wxScrollBar)) )
if (m_validatorWindow->IsKindOf(CLASSINFO(wxSpinButton)) )
{
wxSpinButton* pControl = (wxSpinButton*) m_validatorWindow;
- if (m_pInt)
+ if (m_pInt)
{
pControl->SetValue(*m_pInt) ;
return TRUE;
pControl->SetLabel(*m_pString) ;
return TRUE;
}
- } else
+ } else
#if wxUSE_COMBOBOX
if (m_validatorWindow->IsKindOf(CLASSINFO(wxComboBox)) )
{
*m_pBool = pControl->GetValue() ;
return TRUE;
}
- } else
+ } else
#endif
#if wxUSE_RADIOBTN
if (m_validatorWindow->IsKindOf(CLASSINFO(wxRadioButton)) )
*m_pInt = pControl->GetValue() ;
return TRUE;
}
- } else
+ } else
#endif
#if wxUSE_RADIOBOX
if (m_validatorWindow->IsKindOf(CLASSINFO(wxRadioBox)) )
*m_pInt = pControl->GetSelection() ;
return TRUE;
}
- } else
+ } else
#endif
#if wxUSE_SCROLLBAR
if (m_validatorWindow->IsKindOf(CLASSINFO(wxScrollBar)) )
return TRUE;
}
}
- else
+ else
#if wxUSE_COMBOBOX
if (m_validatorWindow->IsKindOf(CLASSINFO(wxComboBox)) )
{
*m_pString = pControl->GetValue() ;
return TRUE;
}
- } else
+ } else
#endif
#if wxUSE_CHOICE
if (m_validatorWindow->IsKindOf(CLASSINFO(wxChoice)) )
*m_pInt = pControl->GetSelection() ;
return TRUE;
}
- } else
+ } else
#endif
if (m_validatorWindow->IsKindOf(CLASSINFO(wxStaticText)) )
{
*m_pString = pControl->GetLabel() ;
return TRUE;
}
- } else
+ } else
if (m_validatorWindow->IsKindOf(CLASSINFO(wxTextCtrl)) )
{
wxTextCtrl* pControl = (wxTextCtrl*) m_validatorWindow;
#endif
// wxUSE_VALIDATORS
-
+