X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=kernel%2Fsrc%2FbbtkWxGUIPackageBrowser.cxx;h=18de91fff0fc1b359dda7509231beec5a33e10d9;hb=6d91f7afe800c870a482570e5b0243fc3f425777;hp=9ab9e50f563cb10b471f93d595dcfe73fb549c86;hpb=174ea6d71477e40679f4fd71952e3f2a03416098;p=bbtk.git
diff --git a/kernel/src/bbtkWxGUIPackageBrowser.cxx b/kernel/src/bbtkWxGUIPackageBrowser.cxx
index 9ab9e50..18de91f 100644
--- a/kernel/src/bbtkWxGUIPackageBrowser.cxx
+++ b/kernel/src/bbtkWxGUIPackageBrowser.cxx
@@ -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);
- /* =
- "
"+name+" | "
- + " "+type+" | "
- + ""+descr+" |
\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 >::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);
- /* =
- " "+name+" | "
- + " "+type+" | "
- + ""+descr+" |
\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_
+*/