X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;ds=sidebyside;f=lib%2FmaracasVisuLib%2Fsrc%2Finterface%2FwxWindows%2Fwidgets%2FcreaButtonContainer%2Fview%2FbuttonContainerPanel.cxx;h=93feebc7ec06c4079b986b78c0975ce28cc3cf62;hb=825f47d7d281a359e9fec03de88e7db58e9e49ff;hp=7aad096a42810495ffb4822687b2e121e9758e51;hpb=de7a931d43b373fdbaba530ae326a64d45148ae9;p=creaMaracasVisu.git diff --git a/lib/maracasVisuLib/src/interface/wxWindows/widgets/creaButtonContainer/view/buttonContainerPanel.cxx b/lib/maracasVisuLib/src/interface/wxWindows/widgets/creaButtonContainer/view/buttonContainerPanel.cxx index 7aad096..93feebc 100644 --- a/lib/maracasVisuLib/src/interface/wxWindows/widgets/creaButtonContainer/view/buttonContainerPanel.cxx +++ b/lib/maracasVisuLib/src/interface/wxWindows/widgets/creaButtonContainer/view/buttonContainerPanel.cxx @@ -2,7 +2,7 @@ * @file buttonGroup.cxx * @brief Implements the ButtonGroup class. * @author Diego CACERES (diego.caceres[AT]creatis.insa-lyon.fr) - * @date 2011-05-24 + * @date 2011-06-02 */ #include "buttonContainerPanel.h" @@ -11,6 +11,11 @@ namespace creaButtonContainer { namespace view { + BEGIN_EVENT_TABLE(ButtonContainerPanel,wxScrolledWindow) + //(*EventTable(ButtonContainerPanel) + //*) + END_EVENT_TABLE() + // ---------------------------------------------------------------------------------- ButtonContainerPanel::ButtonContainerPanel( wxWindow* parent, ButtonGroupSettings* settings ) : @@ -18,7 +23,7 @@ namespace creaButtonContainer parent, -1, wxDefaultPosition, - wxSize( 400, 400 ), + wxDefaultSize, wxTAB_TRAVERSAL | wxVSCROLL | wxHSCROLL | wxFULL_REPAINT_ON_RESIZE, _T("creaButtonContainer") ) { @@ -59,7 +64,7 @@ namespace creaButtonContainer this->SetSizer( this->m_Sizer ); this->FitSizer( ); }//yrt - catch ( std::exception& e ) + catch ( const std::exception& e ) { std::cerr << "ButtonContainerPanel::PanelInit( ) " << "exception: " << e.what( ) << std::endl;