]> Creatis software - creaMaracasVisu.git/blobdiff - lib/maracasVisuLib/src/interface/wxWindows/widgets/creaButtonContainer/view/listWx.cxx
#2504 creaMaracasVisu Feature New Normal - alternation between containers: button...
[creaMaracasVisu.git] / lib / maracasVisuLib / src / interface / wxWindows / widgets / creaButtonContainer / view / listWx.cxx
index f64ab47bcc5d3a4a62628a410149eeacad316b36..facd7f02ea39638e0c87342c72b97c04689ebc32 100644 (file)
@@ -40,14 +40,27 @@ namespace creaButtonContainer
                        wxString buttonName( wXbuttonName.c_str( ), wxConvUTF8 );
                        wxString description( wXdescription.c_str( ), wxConvUTF8 );
                        //creating the button.
-                       /*this->Create( parent, id,
-                                       wXicon,
-                           wxDefaultPosition, wxDefaultSize,wxBU_AUTODRAW, wxDefaultValidator,
-                           buttonName );*/
+                       //this->Create( parent, id,
+                               //      wXicon,
+                           //wxDefaultPosition, wxDefaultSize,wxBU_AUTODRAW, wxDefaultValidator,
+                           //buttonName );
                        this->Create( parent, id,
                                                    wxDefaultPosition, wxDefaultSize,wxLC_LIST, wxDefaultValidator,
                                                    buttonName );
                        this->SetToolTip( description );
+
+
+                               long index = this->InsertItem(0, _("John Smith"));
+                           this->SetItem(index, 1, _("jsmith"));
+
+                           index = this->InsertItem(1, _("Monica"));
+                           this->SetItem(index, 1, _("monica"));
+
+                           index = this->InsertItem(2, _("Momo"));
+                           this->SetItem(index, 2, _("momo"));
+
+
+
                }
 
                // ----------------------------------------------------------------------------------