]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/helpwin.h
fix memory leak of FrameSite (see #3935)
[wxWidgets.git] / include / wx / msw / helpwin.h
index d5f1a2626d8d67a445e4729c9a30464b7f1c6b4c..5af4f824e0beeefdc6ec3bb39460cade2a47c8e8 100644 (file)
 
 #include "wx/helpbase.h"
 
-class WXDLLEXPORT wxWinHelpController: public wxHelpControllerBase
+class WXDLLIMPEXP_CORE wxWinHelpController: public wxHelpControllerBase
 {
     DECLARE_CLASS(wxWinHelpController)
 
 public:
-    wxWinHelpController() {}
-    ~wxWinHelpController() {}
+    wxWinHelpController(wxWindow* parentWindow = NULL): wxHelpControllerBase(parentWindow) {}
+    virtual ~wxWinHelpController() {}
 
     // Must call this to set the filename
     virtual bool Initialize(const wxString& file);