]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/helpbest.cpp
Adding support for item font/style/color customization, unfortunately, it does not...
[wxWidgets.git] / src / msw / helpbest.cpp
index cb69551e1a105f61c3688993c9137c7fb28ef8a1..3605ea3daccd5f09c89d86889511c452ba814a4d 100644 (file)
 #endif
 
 #ifndef WX_PRECOMP
-#include "wx/defs.h"
+    #include "wx/log.h"
 #endif
 
 #include "wx/filefn.h"
-#include "wx/log.h"
 
 #if wxUSE_HELP && wxUSE_MS_HTML_HELP \
     && wxUSE_WXHTML_HELP && !defined(__WXUNIVERSAL__)
@@ -52,7 +51,8 @@ bool wxBestHelpController::Initialize( const wxString& filename )
     delete chm;
 
     // try wxHtmlHelpController
-    wxHtmlHelpController* html = new wxHtmlHelpController(wxHF_DEFAULT_STYLE, m_parentWindow);
+    wxHtmlHelpController *
+        html = new wxHtmlHelpController(m_style, m_parentWindow);
 
     m_helpControllerType = wxUseHtmlHelp;
     if( html->Initialize( GetValidFilename( filename ) ) )