]> Creatis software - creaMaracasVisu.git/blobdiff - lib/maracasVisuLib/src/interface/wxWindows/widgets/creaButtonContainer/view/button.cxx
no message
[creaMaracasVisu.git] / lib / maracasVisuLib / src / interface / wxWindows / widgets / creaButtonContainer / view / button.cxx
index 323e2a78813e4734f7f1e7bcae3e4b7c56bd6f94..901da6cd315cc4c896a6974075d2bf6073f7f3c5 100644 (file)
@@ -12,12 +12,12 @@ namespace creaButtonContainer
        namespace view
        {
                // ----------------------------------------------------------------------------------
-               Button::Button( wxWindow* parent, long id, ButtonPair* pair )
+               Button::Button( wxWindow* parent, long id, ButtonPair* pair )           
                {
-                       this->m_ButtonPair = pair;
-                       StringType wXbuttonName = this->m_ButtonPair->first->first;
-                       StringType wXiconPath = this->m_ButtonPair->first->second;
-                       StringType wXdescription = this->m_ButtonPair->second->first;
+                       this->m_ButtonPair                      = pair;
+                       StringType wXbuttonName         = this->m_ButtonPair->first->first;
+                       StringType wXiconPath           = this->m_ButtonPair->first->second;
+                       StringType wXdescription        = this->m_ButtonPair->second->first;
                        wxString buttonName( wXbuttonName.c_str( ), wxConvUTF8 );
                        wxString imageIcon( wXiconPath.c_str( ), wxConvUTF8 );
                        wxString description( wXdescription.c_str( ), wxConvUTF8 );
@@ -28,28 +28,33 @@ namespace creaButtonContainer
                            buttonName );
                        this->SetToolTip( description );
                }
+               
                // ----------------------------------------------------------------------------------
                Button::~Button( )
                {
                }
+               
                // ----------------------------------------------------------------------------------
                StringType
                Button::GetButtonName( )
                {
                        return ( this->m_ButtonPair->first->first );
                }
+               
                // ----------------------------------------------------------------------------------
                StringType
                Button::GetIconPath( )
                {
                        return ( this->m_ButtonPair->first->second );
                }
+               
                // ----------------------------------------------------------------------------------
                StringType
                Button::GetDescription( )
                {
                        return ( this->m_ButtonPair->second->first );
                }
+               
                // ----------------------------------------------------------------------------------
                void
                Button::Execute( )