From: Claire Mouton Date: Wed, 23 May 2012 10:56:53 +0000 (+0000) Subject: Documentation panel on the right of bbEditor as a menu option, for lake of use. X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=7a84febafbf30f1fbe9f406ba5c7d2a9388ac6d4;p=bbtk.git Documentation panel on the right of bbEditor as a menu option, for lake of use. --- diff --git a/kernel/src/bbtkWxGUIHtmlBrowser.cxx b/kernel/src/bbtkWxGUIHtmlBrowser.cxx index 4994d18..b079aaa 100644 --- a/kernel/src/bbtkWxGUIHtmlBrowser.cxx +++ b/kernel/src/bbtkWxGUIHtmlBrowser.cxx @@ -2,8 +2,8 @@ Program: bbtk Module: $RCSfile: bbtkWxGUIHtmlBrowser.cxx,v $ Language: C++ - Date: $Date: 2009/03/23 13:06:41 $ - Version: $Revision: 1.13 $ + Date: $Date: 2012/05/23 10:56:53 $ + Version: $Revision: 1.14 $ =========================================================================*/ /* --------------------------------------------------------------------- @@ -116,7 +116,7 @@ namespace bbtk { wxPanel* panel = this; - + wxBoxSizer *sizer = new wxBoxSizer(wxVERTICAL); @@ -186,6 +186,7 @@ namespace bbtk sizer->Add ( mwxHtmlWindow, 1, wxGROW ); // | wxLEFT | wxRIGHT | wxBOTTOM, 10 ); panel -> SetSizer(sizer); + panel -> SetAutoLayout(true); panel -> Layout();