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
* \brief
*/
-
+/*
#ifdef _USE_WXWIDGETS_
#define CHECKBOXVIEW 1
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);
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])));
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);
// 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
#endif //_USE_WXWIDGETS_
+*/