From 51a229c65f93a8fbb0c80dcec98ba3fc9c95ad2f Mon Sep 17 00:00:00 2001 From: Robert Roebling Date: Fri, 24 Aug 2001 19:55:38 +0000 Subject: [PATCH] Fixed apparent typo. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11461 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/mac/carbon/listbox.cpp | 2 +- src/mac/listbox.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mac/carbon/listbox.cpp b/src/mac/carbon/listbox.cpp index 780e28bc7e..e281c6a66e 100644 --- a/src/mac/carbon/listbox.cpp +++ b/src/mac/carbon/listbox.cpp @@ -308,7 +308,7 @@ int wxListBox::FindString(const wxString& st) const if ( EqualString( s1 , s2 , false , false ) ) return i ; } - if ( s.Left(1) = "*" && s.Length() > 1 ) + if ( s.Left(1) == "*" && s.Length() > 1 ) { s.MakeLower() ; for ( int i = 0 ; i < m_noItems ; ++i ) diff --git a/src/mac/listbox.cpp b/src/mac/listbox.cpp index 780e28bc7e..e281c6a66e 100644 --- a/src/mac/listbox.cpp +++ b/src/mac/listbox.cpp @@ -308,7 +308,7 @@ int wxListBox::FindString(const wxString& st) const if ( EqualString( s1 , s2 , false , false ) ) return i ; } - if ( s.Left(1) = "*" && s.Length() > 1 ) + if ( s.Left(1) == "*" && s.Length() > 1 ) { s.MakeLower() ; for ( int i = 0 ; i < m_noItems ; ++i ) -- 2.47.2