]> git.saurik.com Git - wxWidgets.git/blobdiff - tests/test.cpp
Don't set cell value in wxDataViewEvent in one place only.
[wxWidgets.git] / tests / test.cpp
index 155bfdf154aca426c21def3f98ff6697b09af88d..6619dd21c529f03c6022798c4d663e9e135e9344 100644 (file)
@@ -165,7 +165,7 @@ static string GetExceptionMessage()
         throw;
     }
 #if wxDEBUG_LEVEL
-    catch ( TestAssertFailure& )
+    catch ( TestAssertFailure& )
     {
         msg = s_lastAssertMessage;
         s_lastAssertMessage.clear();
@@ -479,6 +479,13 @@ bool TestApp::OnInit()
 #endif
          << "build: " << WX_BUILD_OPTIONS_SIGNATURE << std::endl;
 
+    if ( m_detail )
+    {
+        // Output some important information about the test environment.
+        cout << "Running under " << wxGetOsDescription() << ", "
+                "locale is " << setlocale(LC_ALL, NULL) << std::endl;
+    }
+
 #if wxUSE_GUI
     // create a hidden parent window to be used as parent for the GUI controls
     wxTestableFrame* frame = new wxTestableFrame();