]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/html/winpars.h
test whether pointer is non-NULL before using it, not after, in wxAnimation::Load...
[wxWidgets.git] / include / wx / html / winpars.h
index 965738d542374c7262a3d469a5368f67976ae3a5..125183e0b0862c8f59be62218b959ebda90ee123 100644 (file)
@@ -41,7 +41,7 @@ class WXDLLIMPEXP_HTML wxHtmlWinParser : public wxHtmlParser
 public:
     wxHtmlWinParser(wxHtmlWindowInterface *wndIface = NULL);
 
-    ~wxHtmlWinParser();
+    virtual ~wxHtmlWinParser();
 
     virtual void InitParser(const wxString& source);
     virtual void DoneParser();
@@ -64,9 +64,10 @@ public:
     // for this DC. If you want actual values, call
     // GetDC()->GetChar...()
 
-    // returns associated wxWindow
+    // returns interface to the rendering window
     wxHtmlWindowInterface *GetWindowInterface() {return m_windowInterface;}
 #if WXWIN_COMPATIBILITY_2_6
+    // deprecated, use GetWindowInterface()->GetHTMLWindow() instead
     wxDEPRECATED( wxHtmlWindow *GetWindow() );
 #endif