]> Creatis software - bbtk.git/blobdiff - kernel/src/bbtkWxGUIHtmlBrowser.h
*** empty log message ***
[bbtk.git] / kernel / src / bbtkWxGUIHtmlBrowser.h
index 52ac34abd90be2d6b2f67975697633425d6db999..4979a347f26107ebece5852962a2deec0157c18c 100644 (file)
@@ -3,8 +3,8 @@
   Program:   bbtk
   Module:    $RCSfile: bbtkWxGUIHtmlBrowser.h,v $
   Language:  C++
-  Date:      $Date: 2008/03/21 18:31:57 $
-  Version:   $Revision: 1.3 $
+  Date:      $Date: 2008/06/10 19:19:42 $
+  Version:   $Revision: 1.4 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
@@ -54,14 +54,19 @@ namespace bbtk
                  _T("bbtk::WxGUIHtmlBrowser")),
              mBrowser(browser)
     {
-     
-    }
+     SetBorders(30);
+    };
     //    wxHtmlOpeningStatus OnOpeningURL(wxHtmlURLType type,const wxString& url, wxString *redirect);
 //EED    virtual void OnLinkClicked(const wxHtmlLinkInfo& link);
 
+//EED2  void OnSize( wxSizeEvent&);
+
+
   private: 
     WxGUIHtmlBrowser* mBrowser;
 
+   // any class wishing to process wxWidgets events must use this macro
+//EED2    DECLARE_EVENT_TABLE()  
 
   };
 
@@ -98,6 +103,8 @@ namespace bbtk
     //   void OnRunButton(wxCommandEvent& );
     void OnLinkClicked(wxHtmlLinkEvent& );
     void OnURLEnter( wxCommandEvent&);
+    void OnSize( wxSizeEvent&);
+
     void UpdateURL();
     //  void OnCell(wxHtmlCellEvent& );