]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/html/helpdlg.h
test whether pointer is non-NULL before using it, not after, in wxAnimation::Load...
[wxWidgets.git] / include / wx / html / helpdlg.h
index b63540b3bffef92b317a4f5b8e7d9110b9b3d21e..832224824c2db956d65e4eb43871fa14fe6ebd90 100644 (file)
@@ -1,5 +1,5 @@
 /////////////////////////////////////////////////////////////////////////////
-// Name:        helpdlg.h
+// Name:        wx/html/helpdlg.h
 // Purpose:     wxHtmlHelpDialog
 // Notes:       Based on htmlhelp.cpp, implementing a monolithic
 //              HTML Help controller class,  by Vaclav Slavik
@@ -18,6 +18,7 @@
 
 #include "wx/html/helpdata.h"
 #include "wx/window.h"
+#include "wx/dialog.h"
 #include "wx/frame.h"
 #include "wx/config.h"
 #include "wx/splitter.h"
@@ -43,7 +44,7 @@ public:
     wxHtmlHelpDialog(wxWindow* parent, wxWindowID wxWindowID,
                     const wxString& title = wxEmptyString,
                     int style = wxHF_DEFAULT_STYLE, wxHtmlHelpData* data = NULL);
-    ~wxHtmlHelpDialog();
+    virtual ~wxHtmlHelpDialog();
 
     bool Create(wxWindow* parent, wxWindowID id, const wxString& title = wxEmptyString,
                 int style = wxHF_DEFAULT_STYLE);
@@ -87,4 +88,3 @@ protected:
     // wxUSE_WXHTML_HELP
 
 #endif
-