X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/89a76d5d2c1620f8118780f0a29030f2b2a45023..cd15bcaf50ead53ccf9d50965312f0dc754affb4:/tests/thread/misc.cpp diff --git a/tests/thread/misc.cpp b/tests/thread/misc.cpp index 5dcab1520a..ecdf07df45 100644 --- a/tests/thread/misc.cpp +++ b/tests/thread/misc.cpp @@ -228,7 +228,7 @@ private: // register in the unnamed registry so that these tests are run by default CPPUNIT_TEST_SUITE_REGISTRATION( MiscThreadTestCase ); -// also include in it's own registry so that these tests can be run alone +// also include in its own registry so that these tests can be run alone CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( MiscThreadTestCase, "MiscThreadTestCase" ); MiscThreadTestCase::MiscThreadTestCase() @@ -257,8 +257,8 @@ void MiscThreadTestCase::TestDetached() threads[n] = new MyDetachedThread(10, 'A' + n); } - threads[0]->SetPriority(WXTHREAD_MIN_PRIORITY); - threads[1]->SetPriority(WXTHREAD_MAX_PRIORITY); + threads[0]->SetPriority(wxPRIORITY_MIN); + threads[1]->SetPriority(wxPRIORITY_MAX); for ( n = 0; n < nThreads; n++ ) {