]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/valtext.cpp
atsu for textctrl
[wxWidgets.git] / src / common / valtext.cpp
index 202e8195fab7b5c0f24c248166fba76cafc33661..8d83f839fdc1f3bf290410a77ea58fba58014487 100644 (file)
@@ -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")