X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=kernel%2Fsrc%2FbbtkWxBrowser.h;h=8f1c3b153ee3a0ad2db2c6854bc10ead81ea27d9;hb=965be47225f8f9a2114b7204f842fb40d665f135;hp=131b77ee97bd020b47d7e02820108d7e2e9f49ea;hpb=7eba604321498f7ed6333b7cbe9bf2aceb4ec30e;p=bbtk.git diff --git a/kernel/src/bbtkWxBrowser.h b/kernel/src/bbtkWxBrowser.h index 131b77e..8f1c3b1 100644 --- a/kernel/src/bbtkWxBrowser.h +++ b/kernel/src/bbtkWxBrowser.h @@ -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; @@ -35,6 +35,9 @@ namespace bbtk }; + + class WxConsole; + class WxBrowser : public wxPanel { public: @@ -47,7 +50,7 @@ namespace bbtk void OnForwardButton(wxCommandEvent& ); void OnHomeButton(wxCommandEvent& ); void OnReloadButton(wxCommandEvent& ); - void OnMakeIndexButton(wxCommandEvent& ); + void OnIncludeFileButton(wxCommandEvent& ); void OnLinkClicked(wxHtmlLinkEvent& ); void OnURLEnter( wxCommandEvent&); void UpdateURL(); @@ -55,6 +58,8 @@ namespace bbtk void SetSize( wxSize ); + void SetWxConsole( WxConsole* c ) { mWxConsole = c; } + private: WxHtmlWindow* mwxHtmlWindow; wxTextCtrl* mwxURL; @@ -62,8 +67,10 @@ namespace bbtk wxButton* mwxForwardButton; wxButton* mwxHomeButton; wxButton* mwxReloadButton; - wxButton* mwxMakeIndexButton; - + wxButton* mwxIncludeFileButton; + + WxConsole* mWxConsole; + // any class wishing to process wxWidgets events must use this macro DECLARE_EVENT_TABLE() };