temporary wxMotif compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49656 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -84,12 +84,16 @@ wxTextEntry *wxTextValidator::GetTextEntry()
|
||||
return (wxTextCtrl*)m_validatorWindow;
|
||||
}
|
||||
#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")
|
||||
|
Reference in New Issue
Block a user