Remove superfluous assert that conflicts with style settings needed on
wxGTK to get the same effect. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43314 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -579,9 +579,6 @@ WXDWORD wxTextCtrl::MSWGetStyle(long style, WXDWORD *exstyle) const
|
|||||||
// styles which we alaways add by default
|
// styles which we alaways add by default
|
||||||
if ( style & wxTE_MULTILINE )
|
if ( style & wxTE_MULTILINE )
|
||||||
{
|
{
|
||||||
wxASSERT_MSG( !(style & wxTE_PROCESS_ENTER),
|
|
||||||
wxT("wxTE_PROCESS_ENTER style is ignored for multiline text controls (they always process it)") );
|
|
||||||
|
|
||||||
msStyle |= ES_MULTILINE | ES_WANTRETURN;
|
msStyle |= ES_MULTILINE | ES_WANTRETURN;
|
||||||
if ( !(style & wxTE_NO_VSCROLL) )
|
if ( !(style & wxTE_NO_VSCROLL) )
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user