From 23fe74cf6b6888787ddbbd09871e7cf40b45004f Mon Sep 17 00:00:00 2001 From: Frederic Cervenansky Date: Fri, 18 Jun 2010 14:43:11 +0000 Subject: [PATCH] generate bbtk without Wxwidgets --- kernel/src/EditorGraphicBBS/CMakeLists.txt | 4 +++- kernel/src/bbtkExecuter.cxx | 6 ++++-- 2 files changed, 7 insertions(+), 3 deletions(-) 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 = -- 2.45.1