X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/25088f1eea365f0da7aeb565932dd4fe0fd5d20e..e07a2142811be9d4a4f5eaa730eeebcbe88b24c9:/samples/multimon/multimon_test.cpp?ds=sidebyside diff --git a/samples/multimon/multimon_test.cpp b/samples/multimon/multimon_test.cpp index a3fb1f938b..3ddf4e93b4 100644 --- a/samples/multimon/multimon_test.cpp +++ b/samples/multimon/multimon_test.cpp @@ -5,7 +5,7 @@ // Modified by: // Created: 06/21/02 // RCS-ID: $Id$ -// Copyright: (c) wxWindows team +// Copyright: (c) wxWidgets team // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -24,9 +24,9 @@ bool TestApp::OnInit() { bool is_use_display = #if wxUSE_DISPLAY - TRUE + true #else - FALSE + false #endif ; if( !is_use_display ) @@ -45,10 +45,10 @@ bool TestApp::OnInit() wxRect r = display.GetGeometry(); wxLogDebug ( _T("Display #%i \"%s\" = ( %i, %i, %i, %i ) @ %i bits"), i, display.GetName().c_str(), r.GetLeft(), r.GetTop(), r.GetWidth(), r.GetHeight(), - display.GetDepth() ); + display.GetCurrentMode().GetDepth() ); i++; } } #endif - return FALSE; + return false; }