]> Creatis software - bbtk.git/blobdiff - packages/wx/src/bbwxColourSelector.cxx
Acces to the i-th element of a vector
[bbtk.git] / packages / wx / src / bbwxColourSelector.cxx
index cf6547e22681016f99d70b477e528646dbe694e8..9b03e2d85c14785143d5bba8dacf3dd0a2205bfc 100644 (file)
@@ -3,8 +3,8 @@
   Program:   bbtk
   Module:    $RCSfile: bbwxColourSelector.cxx,v $
   Language:  C++
-  Date:      $Date: 2008/02/20 11:51:59 $
-  Version:   $Revision: 1.1 $
+  Date:      $Date: 2008/04/18 12:59:52 $
+  Version:   $Revision: 1.3 $
                                                                                 
   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_
 
-
 #include "bbwxColourSelector.h"
 #include "bbwxPackage.h"
 
 #include <wx/colordlg.h>
 
-
-
 namespace bbwx
 {
 
   BBTK_ADD_BLACK_BOX_TO_PACKAGE(wx,ColourSelector);
-  BBTK_USER_BLACK_BOX_IMPLEMENTATION(ColourSelector,bbtk::AtomicBlackBox);
-
+  BBTK_BLACK_BOX_IMPLEMENTATION(ColourSelector,bbtk::AtomicBlackBox);
 
   void ColourSelector::bbUserConstructor()
   {
   }
 
   void ColourSelector::Process() 
-  { 
+   
       bbtkDebugMessageInc("Core",9,"ColourSelector::Process() ["
-                       <<bbGetFullName()<<"]"<<std::endl);
-    
+                          <<bbGetFullName()<<"]"<<std::endl);
+
       wxColourDialog *colordialog = new wxColourDialog( 0 );
       colordialog->ShowModal();
       if (colordialog->GetReturnCode()==wxID_OK)
@@ -60,7 +55,7 @@ namespace bbwx
       }
       bbtkDebugDecTab("Core",9); 
    }
-  
+
 //  void ColourSelector::CreateWidget()
 //  {
 //    mColorDialog = new wxColourSelector( 0 );