implemented wxTextEntry for wxMotif, made wxComboBox derive from it

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49667 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2007-11-05 23:13:09 +00:00
parent aca5c6971f
commit 978c6e4113
10 changed files with 427 additions and 228 deletions

View 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")