]> git.saurik.com Git - wxWidgets.git/blobdiff - src/html/htmlpars.cpp
Use WM_INITMENUPOPUP
[wxWidgets.git] / src / html / htmlpars.cpp
index 8c9eca91d3603888d2462e826c3838ffb1990349..bb209217f71ae51ca057a615034ebbd0f89d1c64 100644 (file)
@@ -375,7 +375,7 @@ void wxHtmlParser::PopTagHandler()
     wxList::compatibility_iterator first;
 
     if ( !m_HandlersStack ||
-         (first = m_HandlersStack->GetFirst()) == NULL )
+         !(first = m_HandlersStack->GetFirst()) )
     {
         wxLogWarning(_("Warning: attempt to remove HTML tag handler from empty stack."));
         return;