]> Creatis software - creaMaracasVisu.git/blobdiff - lib/maracasVisuLib/src/interface/wxWindows/widgets/creaPanelButtonContainer/buttonContainerSettings.h
#2507 creaMaracasVisu Feature New Normal - creaPanelButtonContainer ListPanel
[creaMaracasVisu.git] / lib / maracasVisuLib / src / interface / wxWindows / widgets / creaPanelButtonContainer / buttonContainerSettings.h
index 329ced9f1b7f5c3d6b9d868027e7e09d04c136e3..9f3e5245db7d7f17cdb1cfc1e433f710951ecfb9 100644 (file)
@@ -35,7 +35,7 @@
 
 #include <wx/panel.h>
 #include <wx/bitmap.h>
-#include <wx/listctrl.h>
+//EED-MLER #include <wx/listctrl.h>
 
 #include <list>
 #include <map>
@@ -127,6 +127,8 @@ namespace creaPanelButtonContainer
                         */
 
 
+                       typedef std::map< std::string, wxPanel* > ItemsMap;
+
                public:
                        // ----------------------------------------------------------------------------------
                        /*! @fn ButtonContainerSettings( );
@@ -230,14 +232,17 @@ namespace creaPanelButtonContainer
                         * @exception std::bad_alloc
                         */
                        void
-                       AddButtons( BCStructVectorType infoList );
-
+                       AddButtons( BCStructVectorType infoList, int type );
 
                        // ----------------------------------------------------------------------------------
                private:
                        ButtonGroupMap m_ButtonGroupContainer; //!<This is the map with the groups of buttons.
                        KeyMapList m_GroupNameList; //!<This is a container with the name of the groups.
 
-                       };
+
+                       //MLER
+                       ItemsMap m_itemsMap; //This is the map with the name and the wPanel
+               };
+
 }//ecapseman
 #endif /* BUTTONCONTAINERSETTINGS_H_ */