]> Creatis software - creaMaracasVisu.git/blobdiff - lib/maracasVisuLib/src/interface/wxWindows/widgets/creaButtonContainer/view/button.h
#2989 creaMaracasVisu Bug New Normal - ManualContourModel duplicate last point...
[creaMaracasVisu.git] / lib / maracasVisuLib / src / interface / wxWindows / widgets / creaButtonContainer / view / button.h
index e8024bbec3f4259e3205993462f68c6de21b38d7..f323c4de5bd2b6a8053fec71145563a8d7d69cfb 100644 (file)
 #ifndef BUTTON_H
 #define BUTTON_H
 
+//#include <wx/listctrl.h>
 #include <wx/bmpbuttn.h>
 #include <wx/image.h>
 #include <wx/string.h>
+#include <wx/bitmap.h>
 
 #include "system.h"
 
@@ -67,6 +69,7 @@ namespace creaButtonContainer
                                // ----------------------------------------------------------------------------------
                                //end of typedef definition
                        public:
+                               
                                // ----------------------------------------------------------------------------------
                                /*! @fn Button::Button( wxWindow* parent, long id, ButtonPair* pair );
                                 *      @brief This is the constructor.
@@ -95,13 +98,22 @@ namespace creaButtonContainer
                                 */
                                StringType
                                GetButtonName( );
+                               
                                // ----------------------------------------------------------------------------------
                                /*! @fn std::string Button::GetIconPath( );
                                 *      @brief This method returns the iconPath of the button.
                                 *      @return std::string The path of the icon.
                                 */
-                               StringType
-                               GetIconPath( );
+                               BitmapType
+                               GetIcon( );
+
+                               // ----------------------------------------------------------------------------------
+                               /*! @fn std::string Button::GetIconPath( );
+                                *      @brief This method returns the iconPath of the button.
+                                *      @return std::string The path of the icon.
+                                */
+                               //StringType
+                               //GetIconPath( );
                                // ----------------------------------------------------------------------------------
                                /*! @fn std::string Button::GetDescription( );
                                 *      @brief This method returns a the description of the button.
@@ -122,6 +134,7 @@ namespace creaButtonContainer
                                // ----------------------------------------------------------------------------------
                        private:
                                ButtonPair* m_ButtonPair; //! <The pair with the button information.
+                               
                };
        }//ecapseman
 }//ecapseman