Use empty() member function to determine if string is empty
Use this dedicated function instead of checking if length() function returns zero/non-zero value.
This commit is contained in:
parent
652e6fbadb
commit
6eccec3ae7
@ -482,8 +482,8 @@ protected:
|
||||
{
|
||||
return ( !m_text &&
|
||||
!(flags & wxCONTROL_ISSUBMENU) &&
|
||||
!m_valueString.length() &&
|
||||
m_hintText.length() &&
|
||||
m_valueString.empty() &&
|
||||
!m_hintText.empty() &&
|
||||
!ShouldDrawFocus() );
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user