]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/html/helpfrm.h
removed spaces; added WXDLLEXPORTs; make overlay classes non copiable
[wxWidgets.git] / include / wx / html / helpfrm.h
index fa3c26e6097b84877feaf3062866e8f8b84c50af..f543ee41a8ca0b416ba7ada7833a7a73dc3e34cd 100644 (file)
@@ -77,7 +77,7 @@ public:
                     int style = wxHF_DEFAULT_STYLE, wxHtmlHelpData* data = NULL);
     bool Create(wxWindow* parent, wxWindowID id, const wxString& title = wxEmptyString,
                 int style = wxHF_DEFAULT_STYLE);
-    ~wxHtmlHelpFrame();
+    virtual ~wxHtmlHelpFrame();
 
     /// Returns the data associated with the window.
     wxHtmlHelpData* GetData() { return m_Data; }
@@ -105,11 +105,11 @@ public:
     // Override to add custom buttons to the toolbar
     virtual void AddToolbarButtons(wxToolBar* WXUNUSED(toolBar), int WXUNUSED(style)) {};
 
-protected:
     // we don't want to prevent the app from closing just because a help window
     // remains opened
     virtual bool ShouldPreventAppExit() const { return false; }
 
+protected:
     void Init(wxHtmlHelpData* data = NULL);
 
     void OnCloseWindow(wxCloseEvent& event);