]> git.saurik.com Git - wxWidgets.git/blobdiff - tests/interactive/output.cpp
Don't reset bullet number and outline number when applying style sheet.
[wxWidgets.git] / tests / interactive / output.cpp
index 2e7358822c361d6926b67829dbd86b3c432ba4ca..ff462c217676a8ed68dc0a10b50ea92fc001de07 100644 (file)
@@ -119,7 +119,7 @@ void InteractiveOutputTestCase::TestDllListLoaded()
 
         printf(" %s\n", (const char *)details.GetVersion().mb_str());
     }
-    
+
     wxPuts(wxEmptyString);
 #endif // TEST_DYNLIB
 }
@@ -328,7 +328,7 @@ public:
         : wxStackWalker(argv0)
     {
     }
-    
+
     virtual void Walk(size_t skip = 1, size_t maxdepth = wxSTACKWALKER_MAX_DEPTH)
     {
         wxPuts(wxT("Stack dump:"));
@@ -377,9 +377,10 @@ void InteractiveOutputTestCase::TestStackWalk()
 #if wxUSE_STACKWALKER
     wxPuts(wxT("*** Testing wxStackWalker ***"));
 
-    StackDump dump((const char*)wxTheApp->argv[0]);
+    wxString progname(wxTheApp->argv[0]);
+    StackDump dump(progname.utf8_str());
     dump.Walk();
-    
+
     wxPuts("\n");
 #endif
 #endif // TEST_STACKWALKER
@@ -419,7 +420,7 @@ void InteractiveOutputTestCase::TestStandardPaths()
                     wxT("fr"),
                     wxStandardPaths::ResourceCat_Messages
                   ).c_str());
-                  
+
     wxPuts("\n");
 #endif // TEST_STDPATHS
 }
@@ -482,7 +483,7 @@ void InteractiveOutputTestCase::TestFSVolume()
                  vol.GetFlags() & wxFS_VOL_REMOVABLE ? wxT("removable")
                                                      : wxT("fixed"));
     }
-    
+
     wxPuts("\n");
 #endif // TEST_VOLUME
 }