projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
pruned the list of directories to search for headers/libraries
[wxWidgets.git]
/
demos
/
poem
/
wxpoem.cpp
diff --git
a/demos/poem/wxpoem.cpp
b/demos/poem/wxpoem.cpp
index 0b05f793cca439e2c87c4d75f00ade5daaca8892..f4a749d17cfd3a854c732bd8e30e9814d8cc4e7f 100644
(file)
--- a/
demos/poem/wxpoem.cpp
+++ b/
demos/poem/wxpoem.cpp
@@
-486,7
+486,7
@@
void MainWindow::Search(bool ask)
if (ask || m_searchString.empty())
{
wxString s = wxGetTextFromUser( _T("Enter search string"), _T("Search"), m_searchString);
- if (
s != wxEmptyString
)
+ if (
!s.empty()
)
{
s.MakeLower();
m_searchString = s;