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