]> Creatis software - bbtk.git/commitdiff
*** empty log message ***
authorJuan Prieto <Juan.Prieto@creatis.insa-lyon.fr>
Thu, 12 Feb 2009 08:46:52 +0000 (08:46 +0000)
committerJuan Prieto <Juan.Prieto@creatis.insa-lyon.fr>
Thu, 12 Feb 2009 08:46:52 +0000 (08:46 +0000)
samples/SampleInsertWxBlackBoxInOwnFrame/CMakeLists.txt
samples/SampleInsertWxBlackBoxInOwnFrame/bbtkSampleInsertWxBlackBoxInOwnFrame.cxx

index 7b8e1b9735db3662b59db6cd2ef4a1f65e0a1e9d..6eed45feac406030f26cb4ccbe21fab1837185f0 100644 (file)
@@ -22,4 +22,4 @@ IF(WIN32)
   SET_TARGET_PROPERTIES(${SAMPLE} PROPERTIES LINK_FLAGS /subsystem:console )
 ENDIF(WIN32)
 # Link against bbwx
-TARGET_LINK_LIBRARIES(${SAMPLE} ${bbwx_LIBRARIES} ${BBTK_LIBRARIES} ${WXWIDGETS_LIBRARIES})
+TARGET_LINK_LIBRARIES(${SAMPLE} ${BBTK_LIBRARIES} ${bbwx_LIBRARIES}  ${WXWIDGETS_LIBRARIES})
index 9efe1bd7cc79f1c0fb58ff26a57945e9aba52f07..17482f1b90b8129005834b83768671bf99a079f3 100644 (file)
@@ -1,6 +1,6 @@
 #include <bbwxSlider.h>
 #include <bbwxLayoutLine.h>
-
+#include <creaWx.h>
 //=========================================================================
 // Illustrates how to insert a WxBlackBox into his own wxFrame
 //=========================================================================
@@ -90,5 +90,5 @@ bool App::OnInit( )
 
 //=========================================================================
 IMPLEMENT_APP(App);
+CREA_WXMAIN_WITH_CONSOLE;
 //=========================================================================
-