diff --git a/Tests/UseWX/CMakeLists.txt b/Tests/UseWX/CMakeLists.txt index e1583a7006..139339afa5 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 f8d8b2000f..69717bb43c 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('*');