X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/939197fe47148304d874496e954fbc5ddca722be..d537baffe90cf5925fed4f5e4d90bb00e7514f9c:/include/wx/html/helpdlg.h diff --git a/include/wx/html/helpdlg.h b/include/wx/html/helpdlg.h index b63540b3bf..bca72de3ce 100644 --- a/include/wx/html/helpdlg.h +++ b/include/wx/html/helpdlg.h @@ -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" @@ -31,8 +32,8 @@ #include "wx/html/helpwnd.h" #include "wx/html/htmprint.h" -class WXDLLIMPEXP_HTML wxHtmlHelpController; -class WXDLLIMPEXP_HTML wxHtmlHelpWindow; +class WXDLLIMPEXP_FWD_HTML wxHtmlHelpController; +class WXDLLIMPEXP_FWD_HTML wxHtmlHelpWindow; class WXDLLIMPEXP_HTML wxHtmlHelpDialog : public wxDialog { @@ -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); @@ -65,7 +66,7 @@ public: void SetTitleFormat(const wxString& format); // Override to add custom buttons to the toolbar - virtual void AddToolbarButtons(wxToolBar* WXUNUSED(toolBar), int WXUNUSED(style)) {}; + virtual void AddToolbarButtons(wxToolBar* WXUNUSED(toolBar), int WXUNUSED(style)) {} protected: void Init(wxHtmlHelpData* data = NULL); @@ -87,4 +88,3 @@ protected: // wxUSE_WXHTML_HELP #endif -