]> Creatis software - bbtk.git/blobdiff - kernel/src/bbtkWxGUIPackageBrowser.cxx
*** empty log message ***
[bbtk.git] / kernel / src / bbtkWxGUIPackageBrowser.cxx
index 9ab9e50f563cb10b471f93d595dcfe73fb549c86..18de91fff0fc1b359dda7509231beec5a33e10d9 100644 (file)
@@ -3,8 +3,8 @@
   Program:   bbtk
   Module:    $RCSfile: bbtkWxGUIPackageBrowser.cxx,v $
   Language:  C++
-  Date:      $Date: 2008/04/24 10:11:28 $
-  Version:   $Revision: 1.5 $
+  Date:      $Date: 2008/04/24 13:56:34 $
+  Version:   $Revision: 1.6 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
@@ -29,7 +29,7 @@
  * \brief 
  */
 
-
+/*
 #ifdef _USE_WXWIDGETS_
 
 #define CHECKBOXVIEW 1
@@ -112,14 +112,6 @@ namespace bbtk
       out.push_back(name);
       out.push_back(type);
       out.push_back(descr);
-      /* = 
-       "<TR><TD style='vertical-align: top;' bgcolor=\"" + col
-       +"\"><B><PRE> "+name+" </PRE></B></TD>"
-       + "<TD style='vertical-align: top;' bgcolor=\""+col
-       +"\"><I><PRE> "+type+" </PRE></I></TD>"
-       + "<TD style='vertical-align: top;' bgcolor=\""+col
-       +"\">"+descr+"</TD></TR>\n";
-      */
 
       if (iotype==0) user_defined.push_back(out);
       else if (iotype==1) ubb_defined.push_back(out);
@@ -140,25 +132,6 @@ namespace bbtk
     std::vector<std::vector<std::string> >::iterator hi;
     for (hi=user_defined.begin();hi!=user_defined.end();++hi) 
       {
-       /*
-       wxTextCtrl* t = new wxTextCtrl(this,-1,_T("")
-                                      ,wxDefaultPosition
-                                      ,wxDefaultSize 
-                                      ,wxTE_READONLY
-                                      );
-       t->SetDefaultStyle(ionameattr);
-       t->AppendText( std2wx((*hi)[0]) );
-       grid->Add(t);
-       
-       t =  new wxTextCtrl(this,-1,_T("")
-                                      ,wxDefaultPosition
-                                      ,wxDefaultSize 
-                                      ,wxTE_READONLY
-                                      );
-       t->SetDefaultStyle(iotypeattr);
-       t->AppendText( std2wx((*hi)[1]) );
-       grid->Add(t);
-       */
        
        grid->Add( new wxStaticText(this,-1,std2wx((*hi)[0])));
        grid->Add( new wxStaticText(this,-1,std2wx((*hi)[1])));
@@ -229,14 +202,6 @@ namespace bbtk
       out.push_back(name);
       out.push_back(type);
       out.push_back(descr);
-      /* = 
-       "<TR><TD style='vertical-align: top;' bgcolor=\"" + col
-       +"\"><B><PRE> "+name+" </PRE></B></TD>"
-       + "<TD style='vertical-align: top;' bgcolor=\""+col
-       +"\"><I><PRE> "+type+" </PRE></I></TD>"
-       + "<TD style='vertical-align: top;' bgcolor=\""+col
-       +"\">"+descr+"</TD></TR>\n";
-      */
 
       if (iotype==0) user_defined.push_back(out);
       else if (iotype==1) ubb_defined.push_back(out);
@@ -421,7 +386,7 @@ namespace bbtk
     //    WxGUICommand* com = new WxGUICommand(this,this);
     //    sizer->Add(com);
     
-    SetSizer(sizer);
+    SetSizer(sizer); 
 
 
     // Creates the parent window of all bbtk windows as a child of this
@@ -444,3 +409,4 @@ namespace bbtk
 
 
 #endif //_USE_WXWIDGETS_
+*/