]> git.saurik.com Git - wxWidgets.git/commitdiff
compilation warning fixed
authorVadim Zeitlin <vadim@wxwidgets.org>
Mon, 2 Jun 2003 23:03:56 +0000 (23:03 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Mon, 2 Jun 2003 23:03:56 +0000 (23:03 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20874 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/html/htmlcell.h

index 3c115d554e51af2005faaf6b468ab458b69deac3..93d741e859d21fa783662f92b3c4442ed3645582 100644 (file)
@@ -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; }