VideoMode/Display split, TRUE->true and FALSE->false replacements.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27436 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -24,9 +24,9 @@ bool TestApp::OnInit()
|
|||||||
{
|
{
|
||||||
bool is_use_display =
|
bool is_use_display =
|
||||||
#if wxUSE_DISPLAY
|
#if wxUSE_DISPLAY
|
||||||
TRUE
|
true
|
||||||
#else
|
#else
|
||||||
FALSE
|
false
|
||||||
#endif
|
#endif
|
||||||
;
|
;
|
||||||
if( !is_use_display )
|
if( !is_use_display )
|
||||||
@@ -45,10 +45,10 @@ bool TestApp::OnInit()
|
|||||||
wxRect r = display.GetGeometry();
|
wxRect r = display.GetGeometry();
|
||||||
wxLogDebug ( _T("Display #%i \"%s\" = ( %i, %i, %i, %i ) @ %i bits"),
|
wxLogDebug ( _T("Display #%i \"%s\" = ( %i, %i, %i, %i ) @ %i bits"),
|
||||||
i, display.GetName().c_str(), r.GetLeft(), r.GetTop(), r.GetWidth(), r.GetHeight(),
|
i, display.GetName().c_str(), r.GetLeft(), r.GetTop(), r.GetWidth(), r.GetHeight(),
|
||||||
display.GetDepth() );
|
display.GetCurrentMode().GetDepth() );
|
||||||
i++;
|
i++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
return FALSE;
|
return false;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user