- if (m_validatorWindow->IsKindOf(CLASSINFO(wxChoice)) )
- {
- wxChoice* pControl = (wxChoice*) m_validatorWindow;
- if (m_pInt)
- {
- *m_pInt = pControl->GetSelection() ;
- return TRUE;
- }
- else if (m_pString)
- {
- *m_pString = pControl->GetStringSelection();
- return TRUE;
- }
- } else
-#endif
- if (m_validatorWindow->IsKindOf(CLASSINFO(wxComboBox)) )
- {
- wxComboBox* pControl = (wxComboBox*) m_validatorWindow;
- if (m_pInt)
- {
- *m_pInt = pControl->GetSelection() ;
- return TRUE;
- }
- else if (m_pString)
- {
- *m_pString = pControl->GetStringSelection();
- return TRUE;
- }
- } else
- if (m_validatorWindow->IsKindOf(CLASSINFO(wxStaticText)) )
- {
- wxStaticText* pControl = (wxStaticText*) m_validatorWindow;
- if (m_pString)