]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/helpbest.cpp
fix bug with wxCSConv("ASCII")
[wxWidgets.git] / src / msw / helpbest.cpp
index 3782a29354e8901a7c5f9b7ee603564a9e971017..3605ea3daccd5f09c89d86889511c452ba814a4d 100644 (file)
@@ -51,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 ) ) )