From: Vadim Zeitlin Date: Mon, 2 Jun 2003 23:03:56 +0000 (+0000) Subject: compilation warning fixed X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/c9c61efbdd550eb0e0fa7c15c391d40210ce2962 compilation warning fixed git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20874 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/html/htmlcell.h b/include/wx/html/htmlcell.h index 3c115d554e..93d741e859 100644 --- a/include/wx/html/htmlcell.h +++ b/include/wx/html/htmlcell.h @@ -521,7 +521,7 @@ public: wxHtmlTerminalCellsInterator(const wxHtmlCell *from, const wxHtmlCell *to) : m_to(to), m_pos(from) {} - operator bool() const { return m_pos; } + operator bool() const { return m_pos != NULL; } const wxHtmlCell* operator++(); const wxHtmlCell* operator->() const { return m_pos; } const wxHtmlCell* operator*() const { return m_pos; }