]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/helpbest.h
Applied wxStackWalker improvement part of
[wxWidgets.git] / include / wx / msw / helpbest.h
index 95b128084c3b6d22a6c75181e5649f3083e0ead0..3552d9d5aac77abfd13dc01b0f83835747dd928b 100644 (file)
     && wxUSE_WXHTML_HELP && !defined(__WXUNIVERSAL__)
 
 #include "wx/helpbase.h"
     && wxUSE_WXHTML_HELP && !defined(__WXUNIVERSAL__)
 
 #include "wx/helpbase.h"
+#include "wx/html/helpfrm.h"        // for wxHF_DEFAULT_STYLE
 
 class WXDLLIMPEXP_HTML wxBestHelpController: public wxHelpControllerBase
 {
 public:
 
 class WXDLLIMPEXP_HTML wxBestHelpController: public wxHelpControllerBase
 {
 public:
-    wxBestHelpController(wxWindow* parentWindow = NULL)
-        : wxHelpControllerBase( parentWindow ), m_helpControllerType( wxUseNone ),
-          m_helpController( NULL )
+    wxBestHelpController(wxWindow* parentWindow = NULL,
+                         int style = wxHF_DEFAULT_STYLE)
+        : wxHelpControllerBase(parentWindow),
+          m_helpControllerType(wxUseNone),
+          m_helpController(NULL),
+          m_style(style)
     {
     }
 
     {
     }
 
@@ -113,6 +117,7 @@ protected:
 
     HelpControllerType m_helpControllerType;
     wxHelpControllerBase* m_helpController;
 
     HelpControllerType m_helpControllerType;
     wxHelpControllerBase* m_helpController;
+    int m_style;
 
     DECLARE_DYNAMIC_CLASS(wxBestHelpController)
     DECLARE_NO_COPY_CLASS(wxBestHelpController)
 
     DECLARE_DYNAMIC_CLASS(wxBestHelpController)
     DECLARE_NO_COPY_CLASS(wxBestHelpController)