Don't duplicate information in detailed test output
No need to output wxGetOsDescription() twice.
This commit is contained in:
@@ -541,6 +541,7 @@ bool TestApp::OnInit()
|
|||||||
if ( !TestAppBase::OnInit() )
|
if ( !TestAppBase::OnInit() )
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
|
// Output some important information about the test environment.
|
||||||
#if wxUSE_GUI
|
#if wxUSE_GUI
|
||||||
cout << "Test program for wxWidgets GUI features\n"
|
cout << "Test program for wxWidgets GUI features\n"
|
||||||
#else
|
#else
|
||||||
@@ -548,15 +549,15 @@ bool TestApp::OnInit()
|
|||||||
#endif
|
#endif
|
||||||
<< "build: " << WX_BUILD_OPTIONS_SIGNATURE << "\n"
|
<< "build: " << WX_BUILD_OPTIONS_SIGNATURE << "\n"
|
||||||
<< "running under " << wxGetOsDescription()
|
<< "running under " << wxGetOsDescription()
|
||||||
<< " as " << wxGetUserId() << std::endl;
|
<< " as " << wxGetUserId();
|
||||||
|
|
||||||
if ( m_detail )
|
if ( m_detail )
|
||||||
{
|
{
|
||||||
// Output some important information about the test environment.
|
cout << ", locale is " << setlocale(LC_ALL, NULL);
|
||||||
cout << "Running under " << wxGetOsDescription() << ", "
|
|
||||||
"locale is " << setlocale(LC_ALL, NULL) << std::endl;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
cout << std::endl;
|
||||||
|
|
||||||
#if wxUSE_GUI
|
#if wxUSE_GUI
|
||||||
// create a hidden parent window to be used as parent for the GUI controls
|
// create a hidden parent window to be used as parent for the GUI controls
|
||||||
wxTestableFrame* frame = new wxTestableFrame();
|
wxTestableFrame* frame = new wxTestableFrame();
|
||||||
|
Reference in New Issue
Block a user