X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/be5a51fb592f3fa2ba38ac6cd1e488d6d806058c..c4e2838090992384911a6a6aa44cac985d79a555:/samples/multimon/multimon_test.cpp diff --git a/samples/multimon/multimon_test.cpp b/samples/multimon/multimon_test.cpp index abd36929a7..3ddf4e93b4 100644 --- a/samples/multimon/multimon_test.cpp +++ b/samples/multimon/multimon_test.cpp @@ -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; }