From: Frederic Cervenansky Date: Fri, 18 Jun 2010 14:43:11 +0000 (+0000) Subject: generate bbtk without Wxwidgets X-Git-Tag: CREATOOLS.2-0-3~31 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=23fe74cf6b6888787ddbbd09871e7cf40b45004f;p=bbtk.git generate bbtk without Wxwidgets --- diff --git a/kernel/src/EditorGraphicBBS/CMakeLists.txt b/kernel/src/EditorGraphicBBS/CMakeLists.txt index 98f92c1..c29617b 100644 --- a/kernel/src/EditorGraphicBBS/CMakeLists.txt +++ b/kernel/src/EditorGraphicBBS/CMakeLists.txt @@ -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 diff --git a/kernel/src/bbtkExecuter.cxx b/kernel/src/bbtkExecuter.cxx index 39a3d00..72ad0de 100644 --- a/kernel/src/bbtkExecuter.cxx +++ b/kernel/src/bbtkExecuter.cxx @@ -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 =