]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/valtext.cpp
Update OpenVMS compile support (problem cairo logical)
[wxWidgets.git] / src / common / valtext.cpp
index 202e8195fab7b5c0f24c248166fba76cafc33661..8c69b0692be75eb86e2778bd72956ea8555999ee 100644 (file)
 #include <string.h>
 #include <stdlib.h>
 
 #include <string.h>
 #include <stdlib.h>
 
-#ifdef __SALFORDC__
-    #include <clib.h>
-#endif
-
 IMPLEMENT_DYNAMIC_CLASS(wxTextValidator, wxValidator)
 
 BEGIN_EVENT_TABLE(wxTextValidator, wxValidator)
 IMPLEMENT_DYNAMIC_CLASS(wxTextValidator, wxValidator)
 
 BEGIN_EVENT_TABLE(wxTextValidator, wxValidator)
@@ -85,15 +81,12 @@ wxTextEntry *wxTextValidator::GetTextEntry()
     }
 #endif
 
     }
 #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
 #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")
 
     wxFAIL_MSG(
         _T("wxTextValidator can only be used with wxTextCtrl or wxComboBox")