summaryrefslogtreecommitdiffstats
path: root/Tests/UseWX
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2003-10-16 23:16:19 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2003-10-16 23:16:19 (GMT)
commit848364b8e8cc124ed6141544d11a5c3382dace4a (patch)
treed00e027b4e818f10f42ac9bf9c4343fc64c2583c /Tests/UseWX
parent27476dabd91bf30720b35e412457a945abf4cbab (diff)
downloadCMake-848364b8e8cc124ed6141544d11a5c3382dace4a.zip
CMake-848364b8e8cc124ed6141544d11a5c3382dace4a.tar.gz
CMake-848364b8e8cc124ed6141544d11a5c3382dace4a.tar.bz2
ENH: We do not really need streams. Also fix the test on windows
Diffstat (limited to 'Tests/UseWX')
-rw-r--r--Tests/UseWX/CMakeLists.txt2
-rw-r--r--Tests/UseWX/WX.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/Tests/UseWX/CMakeLists.txt b/Tests/UseWX/CMakeLists.txt
index e1583a7..139339a 100644
--- a/Tests/UseWX/CMakeLists.txt
+++ b/Tests/UseWX/CMakeLists.txt
@@ -2,7 +2,7 @@ PROJECT (UsewxWindows)
INCLUDE( ${CMAKE_ROOT}/Modules/Use_wxWindows.cmake)
-ADD_EXECUTABLE (UseWX WX.cxx)
+ADD_EXECUTABLE (UseWX WIN32 WX.cxx)
#TODO:
#- dll linking is not working on WIN32, need to '-DWXUSINGDLL' to preprocessor
diff --git a/Tests/UseWX/WX.cxx b/Tests/UseWX/WX.cxx
index f8d8b20..69717bb 100644
--- a/Tests/UseWX/WX.cxx
+++ b/Tests/UseWX/WX.cxx
@@ -51,7 +51,7 @@ bool MyApp::OnInit()
//Testing if link to wx debug library
#ifdef __WXDEBUG__
- std::cout << "If you read this you're in debug mode." << std::endl;
+ printf("If you read this you're in debug mode.\n");
#endif //__WXDEBUG__
wxChar ch = wxT('*');