]> Creatis software - bbtk.git/commitdiff
#3375 BBTK Bug New Normal - vtk8itk5wx3-mingw64
authorEduardo DAVILA <eduardo.davila@creatis.insa-lyon.fr>
Tue, 17 Mar 2020 14:41:35 +0000 (15:41 +0100)
committerEduardo DAVILA <eduardo.davila@creatis.insa-lyon.fr>
Tue, 17 Mar 2020 14:41:35 +0000 (15:41 +0100)
kernel/src/bbtkWt.h

index f1fcd5e39587cadf19dd470dd00b43af77723a04..360260f85e0c96cedff0f004a12d3218e3f7e224 100644 (file)
 // SIGNAL/SLOT MECHANISM 
 // FOR bbtk WINDOWS CREATION/DESTRUCTION OBSERVATION 
 // BBTKWXSIG
-#include <boost/signal.hpp>
+
+//EED 2020-03-17
+//#include <boost/signal.hpp>
+#include <boost/signals2/signal.hpp>
+
 #include <boost/bind.hpp>
 
 //typedef boost::signals::trackable SignalObserver;
@@ -145,8 +149,13 @@ namespace bbtk
     // BBTKWXSIG
     // The keyword 'signals' is also a macro in qt
     //    typedef boost::signals::trackable SignalObserver;
-    typedef boost::signals::trackable SignalObserver;
-    typedef boost::signal<void ()>  Signal_type;
+
+//    typedef boost::signals::trackable SignalObserver;
+//    typedef boost::signal<void ()>  Signal_type;
+
+    typedef boost::signals2::trackable SignalObserver;
+    typedef boost::signals2::signal<void ()>  Signal_type;
+
     typedef Signal_type::slot_function_type Slot_function_type;
     // \BBTKWXSIG