]> Creatis software - bbtk.git/blobdiff - kernel/src/bbtkExecuter.cxx
generate bbtk without Wxwidgets
[bbtk.git] / kernel / src / bbtkExecuter.cxx
index 39a3d003b9d4561b49384b3625998809acdd691a..72ad0de9a8952f9d1b5fba55e75ff42a1174219e 100644 (file)
@@ -2,8 +2,8 @@
   Program:   bbtk
   Module:    $RCSfile: bbtkExecuter.cxx,v $
   Language:  C++
-  Date:      $Date: 2009/06/08 14:50:03 $
-  Version:   $Revision: 1.31 $
+  Date:      $Date: 2010/06/18 14:43:19 $
+  Version:   $Revision: 1.32 $
 =========================================================================*/
 
 /* ---------------------------------------------------------------------
@@ -122,7 +122,9 @@ namespace bbtk
     //  Wx::DestroyTopWindow();
 
     GetFactory()->Reset();
+#if(USE_WXWIDGETS)
     Wx::ProcessPendingEvents();
+#endif
  
     // Create user package
     Package::Pointer p =