X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a71d815bbe669ebb9bdb9409926a272c37a5a9aa..f8b1df0b15f843b8f47efb9bee38f1de0fa95020:/src/msw/helpbest.cpp?ds=inline diff --git a/src/msw/helpbest.cpp b/src/msw/helpbest.cpp index cb69551e1a..3605ea3dac 100644 --- a/src/msw/helpbest.cpp +++ b/src/msw/helpbest.cpp @@ -17,11 +17,10 @@ #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 ) ) )