]> Creatis software - bbtk.git/blobdiff - kernel/src/bbtkWxBrowser.h
wxConsole new version
[bbtk.git] / kernel / src / bbtkWxBrowser.h
index faea9466a6915860c7cf833e3351803d5621a384..e074b1c4e1ef8de955530e36b013ff501fc15f27 100644 (file)
@@ -26,7 +26,7 @@ namespace bbtk
      
     }
     //    wxHtmlOpeningStatus OnOpeningURL(wxHtmlURLType type,const wxString& url, wxString *redirect);
-    virtual void OnLinkClicked(const wxHtmlLinkInfo& link);
+//EED    virtual void OnLinkClicked(const wxHtmlLinkInfo& link);
 
   private: 
     WxBrowser* mBrowser;
@@ -41,10 +41,14 @@ namespace bbtk
     WxBrowser ( wxWindow *parent, wxSize size );
  
     bool GoTo(std::string&);
+    void GoHome();
 
     void OnBackButton(wxCommandEvent& );
     void OnForwardButton(wxCommandEvent& );
-       void OnLinkClicked(wxHtmlLinkEvent& );
+    void OnHomeButton(wxCommandEvent& );
+    void OnReloadButton(wxCommandEvent& );
+    void OnIncludeFileButton(wxCommandEvent& );
+    void OnLinkClicked(wxHtmlLinkEvent& );
     void OnURLEnter( wxCommandEvent&);
     void UpdateURL();
     //  void OnCell(wxHtmlCellEvent& );
@@ -56,6 +60,9 @@ namespace bbtk
     wxTextCtrl* mwxURL;
     wxButton* mwxBackButton;
     wxButton* mwxForwardButton;
+    wxButton* mwxHomeButton;
+    wxButton* mwxReloadButton;
+    wxButton* mwxIncludeFileButton;
  
    // any class wishing to process wxWidgets events must use this macro
     DECLARE_EVENT_TABLE()