X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FmaracasVisuLib%2Fsrc%2Finterface%2FwxWindows%2Fwidgets%2FcreaPanelButtonContainer%2FbuttonContainerSettings.cxx;h=80dee9a41172b129d35786b893cc58862311e880;hb=65c158dc171f8d3114ee3544b2a94a1f41880df0;hp=8ca88d0e7200ab5d08dd1d66ab7e38f80aaa4754;hpb=978a6b69b838cd857d997d53e1392573853ae702;p=creaMaracasVisu.git diff --git a/lib/maracasVisuLib/src/interface/wxWindows/widgets/creaPanelButtonContainer/buttonContainerSettings.cxx b/lib/maracasVisuLib/src/interface/wxWindows/widgets/creaPanelButtonContainer/buttonContainerSettings.cxx index 8ca88d0..80dee9a 100644 --- a/lib/maracasVisuLib/src/interface/wxWindows/widgets/creaPanelButtonContainer/buttonContainerSettings.cxx +++ b/lib/maracasVisuLib/src/interface/wxWindows/widgets/creaPanelButtonContainer/buttonContainerSettings.cxx @@ -2,7 +2,7 @@ * @file buttonContainerSettings.cxx * @brief Implements the ButtonContainerSettings class. * @author Diego CACERES (diego.caceres[AT]creatis.insa-lyon.fr) - * @date 2011-05-24 + * @date 2011-06-02 */ #include "buttonContainerSettings.h" @@ -32,7 +32,7 @@ namespace creaPanelButtonContainer // ---------------------------------------------------------------------------------- //GetButtonPanel returns the panel associated to the buttonAction ButtonContainerSettings::PanelButton - ButtonContainerSettings::GetPanelButton( const std::string &buttonName ) + ButtonContainerSettings::GetPanelButton( const StringType &buttonName ) { try { @@ -52,7 +52,7 @@ namespace creaPanelButtonContainer catch ( std::exception& e ) { std::cerr - << "ButtonContainerSettings::GetPanelButton( const std::string &buttonName ) " + << "ButtonContainerSettings::GetPanelButton( const StringType &buttonName ) " << "exception: " << e.what( ) << std::endl; }//hctac return ( NULL ); @@ -79,7 +79,7 @@ namespace creaPanelButtonContainer catch ( std::exception& e ) { std::cerr - << "ButtonContainerSettings::GetPanelButton( const std::string &buttonName ) " + << "ButtonContainerSettings::GetPanelButton( const StringType &buttonName ) " << "exception: " << e.what( ) << std::endl; }//hctac } @@ -98,9 +98,9 @@ namespace creaPanelButtonContainer } // ---------------------------------------------------------------------------------- void - ButtonContainerSettings::AddButton( const std::string & groupName, - const std::string &buttonName, const std::string &iconpath, - const std::string &buttonDescription, PanelButton panel ) + ButtonContainerSettings::AddButton( const StringType & groupName, + const StringType &buttonName, const StringType &iconpath, + const StringType &buttonDescription, PanelButton panel ) { try { @@ -131,9 +131,9 @@ namespace creaPanelButtonContainer catch ( const std::exception& e ) { std::cerr - << "ButtonContainerSettings::AddButton( const std::string & groupName," - << "const std::string &buttonName, const std::string &iconpath," - << "const std::string &buttonDescription, PanelButton panel ) " + << "ButtonContainerSettings::AddButton( const StringType & groupName," + << "const StringType &buttonName, const StringType &iconpath," + << "const StringType &buttonDescription, PanelButton panel ) " << "exception: " << e.what( ) << std::endl; }//hctac }