]> Creatis software - bbtk.git/commitdiff
generate bbtk without Wxwidgets
authorFrederic Cervenansky <Frederic.Cervenansky@creatis.insa-lyon.fr>
Fri, 18 Jun 2010 14:43:11 +0000 (14:43 +0000)
committerFrederic Cervenansky <Frederic.Cervenansky@creatis.insa-lyon.fr>
Fri, 18 Jun 2010 14:43:11 +0000 (14:43 +0000)
kernel/src/EditorGraphicBBS/CMakeLists.txt
kernel/src/bbtkExecuter.cxx

index 98f92c16a99c535eefbda00fb15340567004552d..c29617bf7c103b470d5f633f06e53dcdd60c192c 100644 (file)
@@ -1,3 +1,5 @@
 SUBDIRS(bbsKernelEditorGraphic)
 SUBDIRS(bbsVtkGUIEditorGraphic)
-SUBDIRS(bbsWxGUIEditorGraphic)
\ No newline at end of file
+if(USE_WXWIDGETS)
+SUBDIRS(bbsWxGUIEditorGraphic)
+endif()
\ No newline at end of file
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 =