]> Creatis software - creaMaracasVisu.git/blobdiff - lib/maracasVisuLib/src/interface/wxWindows/widgets/creaButtonContainer/view/listWx.h
#2516 creaMaracasVisu Feature New Normal - creaPanelButtonContainer ListPanel with...
[creaMaracasVisu.git] / lib / maracasVisuLib / src / interface / wxWindows / widgets / creaButtonContainer / view / listWx.h
index 7f3054929d6a33d90cfa422ee88330a56844c9b4..7f0478ae9b28607aaa490e62860004435b41b192 100644 (file)
 #include <wx/image.h>
 #include <wx/string.h>
 #include <wx/bitmap.h>
-#include <wx/listctrl.h>
+//#include <wx/listctrl.h>
+#include <wx/control.h>
+#include <wx/choice.h>
+#include <wx/listbox.h>
 #include <wx/wx.h>
 
 
@@ -49,7 +52,7 @@ namespace creaButtonContainer
        namespace view
        {
 
-               class ListWx : public wxListCtrl
+               class ListWx : public wxPanel
                {
                        public:
 
@@ -69,11 +72,15 @@ namespace creaButtonContainer
                                GetID( );
 
                                void
-                               ListEvent( wxListEvent& event );
+                               ListEvent( wxCommandEvent& event );
                                // ----------------------------------------------------------------------------------
                        private:
                                ItemsMap m_itemsMap; //! <The pair with the button information.
                                TFunctor* functor;
+                               //wxPanel* panel;
+                               wxListBox* listBox;
+                               wxFlexGridSizer* sizer;
+
 
                };
        }//ecapseman