+ wxComboBox* pControl = (wxComboBox*) m_validatorWindow;
+ if (m_pInt)
+ {
+ *m_pInt = pControl->GetSelection() ;
+ return true;
+ }
+ else if (m_pString)
+ {
+ if (m_validatorWindow->GetWindowStyle() & wxCB_READONLY)
+ *m_pString = pControl->GetStringSelection();
+ else
+ *m_pString = pControl->GetValue();
+ return true;
+ }
+ } else