remove superfluous assert
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41401 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -475,10 +475,7 @@ bool wxTextCtrl::Create( wxWindow *parent,
|
|||||||
|
|
||||||
if ( m_windowStyle & wxTE_MULTILINE )
|
if ( m_windowStyle & wxTE_MULTILINE )
|
||||||
{
|
{
|
||||||
wxASSERT_MSG(
|
// always turn on this style for multi-line controls
|
||||||
!(m_windowStyle & wxTE_PROCESS_ENTER),
|
|
||||||
wxT("wxTE_PROCESS_ENTER style is ignored for multiline text controls (they always process it)") );
|
|
||||||
|
|
||||||
m_windowStyle |= wxTE_PROCESS_ENTER;
|
m_windowStyle |= wxTE_PROCESS_ENTER;
|
||||||
style |= wxTE_PROCESS_ENTER ;
|
style |= wxTE_PROCESS_ENTER ;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user