]> 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 98f92c1..c29617b 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 39a3d00..72ad0de 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 =