]> git.saurik.com Git - wxWidgets.git/blobdiff - tests/test.cpp
fixed sending 2 events (normal and bogus cancel one) when ending to edit a tree ctrl...
[wxWidgets.git] / tests / test.cpp
index 2ed648499314b2cd1cb12d8cf84bf45628e55f7b..040ed7eeda3ba785b7216aed86539c914f0c61b3 100644 (file)
@@ -157,10 +157,10 @@ void TestApp::List(Test *test, const string& parent /*=""*/) const
             cout << "  " << name.substr(i + 1) << "\n";
         }
 
-        typedef const vector<Test*> Tests;
+        typedef vector<Test*> Tests;
         typedef Tests::const_iterator Iter;
 
-        Tests& tests = suite->getTests();
+        const Tests& tests = suite->getTests();
 
         for (Iter it = tests.begin(); it != tests.end(); ++it)
             List(*it, name);