]> Creatis software - creaMaracasVisu.git/blobdiff - lib/maracasVisuLib/src/interface/wxWindows/widgets/creaButtonContainer/view/buttonManager.cxx
DFCH
[creaMaracasVisu.git] / lib / maracasVisuLib / src / interface / wxWindows / widgets / creaButtonContainer / view / buttonManager.cxx
index d85596953dd3cd4abd5196c3b161dd5032c7ba42..8d00a5da0dc2feab29fa8cfe124291f8e934aecf 100644 (file)
@@ -2,7 +2,7 @@
  * @file buttonManager.cxx
  * @brief Implements the ButtonManager class.
  * @author Diego CACERES (diego.caceres[AT]creatis.insa-lyon.fr)
- * @date  2011-05-24
+ * @date  2011-06-02
  */
 
 #include "buttonManager.h"
@@ -25,7 +25,7 @@ namespace creaButtonContainer
                                this->SetGroupName( buttonGroup->GetGroupName( ) );
                                this->SetButtonManager( buttonGroup->GetButtonContainer( ) );
                        }//yrt
-                       catch ( std::exception& e )
+                       catch ( const std::exception& e )
                        {
                                std::cerr << "Button::Execute( ) exception: " << e.what( ) << std::endl;
                        }//hctac
@@ -55,9 +55,9 @@ namespace creaButtonContainer
                                                this->m_GridSizer->Add( ( *it ).second, -1,
                                                    wxALL | wxALIGN_LEFT | wxALIGN_TOP, 5 );
                                        this->Add( m_GridSizer, -1, wxALL | wxALIGN_LEFT | wxALIGN_TOP, 5 );
-                               }
+                               }//fi
                        }//yrt
-                       catch ( std::exception& e )
+                       catch ( const std::exception& e )
                        {
                                std::cerr
                                    << "ButtonManager::SetButtonManager( ButtonContainer buttonContainer )"