X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7b235dce88ca7e3fc0182c5b8ce088f1281c3321..e047f594b679f986f8522439e8d2630e119558fd:/src/common/valtext.cpp diff --git a/src/common/valtext.cpp b/src/common/valtext.cpp index 202e8195fa..8c69b0692b 100644 --- a/src/common/valtext.cpp +++ b/src/common/valtext.cpp @@ -33,10 +33,6 @@ #include #include -#ifdef __SALFORDC__ - #include -#endif - IMPLEMENT_DYNAMIC_CLASS(wxTextValidator, wxValidator) BEGIN_EVENT_TABLE(wxTextValidator, wxValidator) @@ -85,15 +81,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")