X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7b235dce88ca7e3fc0182c5b8ce088f1281c3321..bab4b13d392e0c9663c2c5a09f0dcbc77344ec05:/src/common/valtext.cpp?ds=sidebyside diff --git a/src/common/valtext.cpp b/src/common/valtext.cpp index 202e8195fa..8d83f839fd 100644 --- a/src/common/valtext.cpp +++ b/src/common/valtext.cpp @@ -85,15 +85,12 @@ wxTextEntry *wxTextValidator::GetTextEntry() } #endif - // FIXME: in wxMotif wxComboBox doesn't derive from wxTextCtrl yet -#ifndef __WXMOTIF__ #if wxUSE_COMBOBOX if (m_validatorWindow->IsKindOf(CLASSINFO(wxComboBox))) { return (wxComboBox*)m_validatorWindow; } #endif -#endif // !__WXMOTIF__ wxFAIL_MSG( _T("wxTextValidator can only be used with wxTextCtrl or wxComboBox")